download Mastguru Android App

Question Detail

66. A constructor function is generally defined

  • In the private section of a class
  • In the public section of a class
  • In the protected section of a class
  • None of the above
Similar Questions :

1. The symbol ** __ .

  • can be overloaded by changing its datatype.
  • cannot be overloaded, as on overloading its meaning shall be changed.
  • can be overloaded.
  • cannot be overloaded as it is not a C++ operator.

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

  • True
  • False

3. Stacks are based on ?

  • FIFO
  • LIFO
  • FILO
  • All of above

4. 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.

5. Inheritance is transitive in nature.

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