Question Detail

Which class has only one unique value for all the objects of class

  • this
  • friend
  • static
  • none of above
Similar Questions :

1. Default constructor has how many arguments

  • 1
  • 2
  • 3
  • 0

2. What is polymorphism

  • Ability to take more than one form
  • Ability to destroy destructor
  • Ability to create constructor
  • None of above

3. How to define a destructor

  • X~() {}
  • X() {}~
  • X() ~{}
  • ~X() {}

4. Which operator is used for comparing two variables

  • :=
  • =
  • =:
  • ==

5. What is inheritance

  • Inheritance allows one class to reuse the state and behavior of another class.
  • It deals with dangling pointers
  • It deals with void pointers
  • It is type of class declaration
Read more from - C++ Programming Questions Answers - Chapter 1