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. The process of deriving a class from another derived class is known as ?

  • single inheritance
  • dual inheritance
  • multiple inheritance
  • multilevel inheritance

3. What is actual syntax of destructor in c++ ?

  • !Classname( )
  • @Classname( )
  • $Classname( )
  • ~Classname( )

4. A class having no public constructors is

  • A public protected class
  • A public class
  • A protected class
  • A private class

5. Data members and member functions are enclosed within ?

  • union
  • structure
  • class
  • array
Read more from - C++ Programming Questions Answers - Set 2