download Mastguru Android App

Question Detail

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

  • Copy constructor
  • Default constructor
  • Static constructor
  • Dynamic constructor
Similar Questions :

1. Classes in c++ are ?

  • Fundamental data type
  • Primitive data type
  • Desired data type
  • Not defined

2. What is default scope for a structure ?

  • Private
  • Protected
  • Public
  • None of aobve

3. The private data members of a class are accessible ?

  • Directly to objects of that class
  • To any function defined outside a class
  • Only to the member functions
  • Only using keyword static

4. What is object in C++ ?

  • Object is part of syntax of a class.
  • Object is datatype of a class.
  • Object is an instance of a class.
  • Object is function of a class.

5. Even if we define a function in a class, then also we need to declare it first.

  • True
  • False
Read more from - C++ Programming Questions Answers - Set 2
Post a comment