Question Detail

In C++ Functions can returns ?

  • arrays
  • reference
  • objects
  • all of above
Similar Questions :

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

  • Yes
  • No

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

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

3. A Variable __ of void type.

  • May be declared
  • Can be initialized
  • Cannot be intialized
  • Cannot be declared

4. 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.

5. Stacks are based on ?

  • FIFO
  • LIFO
  • FILO
  • All of above
Read more from - C++ Programming Questions Answers - Set 2