download Mastguru Android App

Question Detail

<< operator is ?

  • stream extraction operator
  • stream insertion operator
  • left shift operator
  • right shift operator
Similar Questions :

1. Can we define array of classes in c++ ?

  • Yes
  • No

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

  • Private
  • Public
  • Protected
  • Depends

3. Destructors are called ?

  • not defined
  • in any order
  • in the reverse order of constructor calls
  • in the same order of constructor calls

4. The major goal of inheritance in C++ is ?

  • To facilitate the reusability of code
  • To help modular programming
  • To facilitate the conversion of data types
  • To extend the capabilities of a class

5. A virtual base class ?

  • is qualified as virtual in base class definition.
  • do not qualified as virtual in base class definition.
  • allows to inherit more than one copy of the base class members.
  • strict the path of inheritance.
Read more from - C++ Programming Questions Answers - Set 2
Post a comment