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. 78. If new operator is used, then the constructor function is ?

  • Copy constructor
  • Default constructor
  • Static constructor
  • Dynamic constructor

2. A variable is defined within a block in a body of a function. Which of the following are true ?

  • It is visible from the point of definition to the end of the program.
  • It is visible throughout the function.
  • It is visible from the point of definition to the end of the block.
  • It is visible throughout the block.

3. Inheritance is referred to as

  • “is a” relationship
  • "have a" relationship
  • both of above
  • none of above

4. Queues are based on ?

  • LIFO
  • FIFO
  • LILO
  • FILO

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