Question Detail

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

  • free
  • void
  • empty
  • null
Similar Questions :

1. Which among following is correct way of declaring object of a class ?

  • Classname Objectname;
  • Class Classname Objectname;
  • Class Classname Object Objectname;
  • Classname Object Objectname;

2. What among following is a generic class ?

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

3. 78. If new operator is used, then the constructor function is ?

  • Copy constructor
  • Default constructor
  • Static constructor
  • Dynamic constructor

4. Data members and member functions are enclosed within ?

  • union
  • structure
  • class
  • array

5. 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.
Read more from - C++ Programming Questions Answers - Set 2