Question Detail

What is object in C++ ?

  • Object is part of syntax of a class.
  • Object is datatype of a class.
  • Object is an instance of a class.
  • Object is function of a class.
Similar Questions :

1. How we can access data members using objects ?

  • object@datamember
  • object*datamember
  • object->datamember
  • object.datamember

2. The antonym of constructor is ?

  • Creator
  • Distinct
  • Destroyer
  • Destructor

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

  • True
  • False

4. & operator is ?

  • address operator
  • indirection operator
  • logical and
  • logical or

5. Destructors are called ?

  • not defined
  • in any order
  • in the reverse order of constructor calls
  • in the same order of constructor calls
Read more from - C++ Programming Questions Answers - Set 2