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. & operator is ?

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

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

  • protected
  • switch
  • goto
  • for

3. What is default visibility mode for members of classes in C++ ?

  • Private
  • Public
  • Protected
  • Depends

4. Even if we define a function in a class, then also we need to declare it first.

  • True
  • False

5. The process of deriving a class from another derived class is known as ?

  • single inheritance
  • dual inheritance
  • multiple inheritance
  • multilevel inheritance
Read more from - C++ Programming Questions Answers - Set 2