download Mastguru Android App

Question Detail

<< operator is ?

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

1. How we can define member function outside the class ?

  • Using union
  • Using structure
  • Using pointers
  • Using scope resolution

2. Explicit call to a constructor means ?

  • Not providing the construction name at all
  • Is the shorthand method
  • Providing the constructor name explicitly to invoke it
  • Providing the constructor name implicitly to invoke it

3. Enumerators are stored by the compiler in ?

  • string
  • integer
  • float
  • any of above

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. What is purpose of abstract class ?

  • to provide help with database connectivity.
  • to provide data input to other classes.
  • to provide security to other classes.
  • to provide an appropriate base class from which other classes can inherit.
Read more from - C++ Programming Questions Answers - Set 2
Post a comment