download Mastguru Android App

Question Detail

In C++ Functions can returns ?

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

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

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

2. Only one copy of the class is inherited, when it is defined as ?

  • virtual
  • public
  • static
  • private

3. Which of following valid option will not return a value in c++ ?

  • free
  • void
  • empty
  • null

4. When a derived class inherits from many base classes, this process is known as ?

  • multiple inheritance
  • multilevel inheritance
  • default inheritance
  • multiplex inheritance

5. What among following is a generic class ?

  • Function Template
  • Class Template
  • Inherited Template
  • None of above
Read more from - C++ Programming Questions Answers - Set 2
Post a comment