C++ Programming Questions Answers - Set 2

  • 64. The members of a class are ?

    b) by default are private
    c) are made private by declaring as private
    d) none of the above]

    1. have no visibility by default
    2. public by default
    3. private by default
    4. protected by default
    Answer :

    Option C

  • 65. 37. Which of the following statements is false ?

    1. Using typedef does not replace the standard C++ data type name with the new name
    2. The new name defined by typedef, can be used as a type for another typedef
    3. typedef defines new data types
    4. None of the above
    Answer :

    Option C

Please Like Us