download Mastguru Android App

Question Detail

In C++ Functions can returns ?

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

1. A variable is defined within a block in a body of a function. Which of the following are true ?

  • It is visible from the point of definition to the end of the program.
  • It is visible throughout the function.
  • It is visible from the point of definition to the end of the block.
  • It is visible throughout the block.

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

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

3. Enumerator will allocate the memory when its variables are defined.

  • True
  • False

4. What among following is a generic class ?

  • Function Template
  • Class Template
  • Inherited Template
  • None of above

5. Which operators can not be overloaded ?

  • Binary operator
  • Ternary operator
  • Unary operator
  • All can be overloaded
Read more from - C++ Programming Questions Answers - Set 2
Post a comment