C++ Programming Questions Answers - Set 2

  • 50. && means ?

    1. Logical OR
    2. Bitwise OR
    3. Logical AND
    4. Bitwise AND
    Answer And Explanation

    Answer: Option C

  • 51. Explicit call to a constructor means ?

    1. Not providing the construction name at all
    2. Is the shorthand method
    3. Providing the constructor name explicitly to invoke it
    4. Providing the constructor name implicitly to invoke it
    Answer And Explanation

    Answer: Option C

  • 52. 78. If new operator is used, then the constructor function is ?

    1. Copy constructor
    2. Default constructor
    3. Static constructor
    4. Dynamic constructor
    Answer And Explanation

    Answer: Option D

  • 53. The antonym of constructor is ?

    1. Creator
    2. Distinct
    3. Destroyer
    4. Destructor
    Answer And Explanation

    Answer: Option D

  • 54. A Variable __ of void type.

    1. May be declared
    2. Can be initialized
    3. Cannot be intialized
    4. Cannot be declared
    Answer And Explanation

    Answer: Option D

  • 55. When one class inherits from the base class, then the original class is called ?

    1. derived class
    2. base class
    3. sub class
    4. basic class
    Answer And Explanation

    Answer: Option B

  • 56. Operator overloading is ?

    1. giving new meaning to existing c++ operators
    2. making c++ operators work with objects
    3. giving c++ operators more than they can handle
    4. making new c++ operators
    Answer And Explanation

    Answer: Option A