logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • Different access specifiers for the class member in C++


  • Correct Answer
  • Access specifiers in C++ determines the scope of the class members Public: If a class member is public, it can be used anywhere without the access restrictions Private: if a class member is private, it can be used only by the members and friends of class Protected: If a class member is protected, it can be used only by the members and friends of class and the members and friends of classes derived from class 


  • Technology problems


    Search Results


    • 1. Explain storage qualifiers in C++
    • Discuss
    • 2. Where does the allocaters are implemented?

    • Options
    • A. Template library
    • B. Standard library
    • C. C++ code library
    • D. None of these
    • Discuss
    • 3. How the different permutations are ordered in c++?

    • Options
    • A. Compare lexicographicaly to each other elements
    • B. By finding the highest element in the range
    • C. By finding the lowest element in the range
    • D. None of the mentioned
    • Discuss
    • 4. Which keyword is used to declare the min and max functions?

    • Options
    • A. iostream
    • B. string
    • C. algorithm
    • D. None of these
    • Discuss
    • 5. What is the kind of execution does sequence point allow?

    • Options
    • A. Non-overlap
    • B. Overlap
    • C. Concurrent
    • D. None of these
    • Discuss
    • 6. What are virtual functions?
    • Discuss
    • 7. What is a container class?
    • Discuss
    • 8. What is the role of Bug Tracking System?
    • Discuss
    • 9. Describe Bottom-Up and Top-Down approach in Testing.
    • Discuss
    • 10. What is parallel/audit testing?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment