Question Detail

<< operator is ?

  • stream extraction operator
  • stream insertion operator
  • left shift operator
  • right shift operator
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. Even if we define a function in a class, then also we need to declare it first.

  • True
  • False

3. When a structure refers to itself, it is known as ?

  • encapsulated structure
  • nested structure
  • recursive structure
  • self-referential structure

4. 37. Which of the following statements is false ?

  • Using typedef does not replace the standard C++ data type name with the new name
  • The new name defined by typedef, can be used as a type for another typedef
  • typedef defines new data types
  • None of the above

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

  • Yes
  • No
Read more from - C++ Programming Questions Answers - Set 2