download Mastguru Android App

Question Detail

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

  • free
  • void
  • empty
  • null
Similar Questions :

1. What among following is a generic class ?

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

2. The function used to define the task assigned to an operator is ?

  • Virtual function
  • Static function
  • Operator function
  • Friend function

3. The advantage of declaring a virtual function as pure is
?

  • programs runs faster
  • early binding can be achieved
  • you force any derived class to define its own implementation
  • you can avoid making the class an abstract class

4. Stacks are based on ?

  • FIFO
  • LIFO
  • FILO
  • All of above

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

  • True
  • False
Read more from - C++ Programming Questions Answers - Set 2
Post a comment