Question Detail

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

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

1. What is true about Constructor ?

  • Its name is plural of class name.
  • Its name has * symbol before it.
  • Its name is same as of class name.
  • Its name has # symbol before it.

2. Which of following valid option will not return a value in c++ ?

  • free
  • void
  • empty
  • null

3. Enumerator will allocate the memory when its variables are defined.

  • True
  • False

4. What is class in c++ ?

  • When you define a class, you define a blueprint for a data type.
  • When you define a class, you make get more funtionality.
  • When you define a class, you define the logic.
  • When you define a class, you make debugging.

5. Which of the following cannot be passed to a function ?

  • Array
  • Reference variable
  • Object
  • File
Read more from - C++ Programming Questions Answers - Set 2