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. When one class inherits from the base class, then the original class is called ?

  • derived class
  • base class
  • sub class
  • basic class

2. Which variables cannot be declared ?

  • structure
  • pointer
  • class
  • void

3. Which of the following keywords are used to control access to a class member ?

  • protected
  • switch
  • goto
  • for

4. 78. If new operator is used, then the constructor function is ?

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

5. Which among following is not a valid visibility mode in c++ program ?

  • Private
  • Public
  • Protected
  • Limited
Read more from - C++ Programming Questions Answers - Set 2