download Mastguru Android App

Question Detail

Explicit call to a constructor means ?

  • Not providing the construction name at all
  • Is the shorthand method
  • Providing the constructor name explicitly to invoke it
  • Providing the constructor name implicitly to invoke it
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. Size of a char is ?

  • 1
  • 2
  • 3
  • 4

4. We can do constructor overloading in C++ ?

  • True
  • False

5. Which variables cannot be declared ?

  • structure
  • pointer
  • class
  • void
Read more from - C++ Programming Questions Answers - Set 2
Post a comment