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. 78. If new operator is used, then the constructor function is ?

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

2. The default visibility mode while inheriting is ?

  • public
  • protected
  • private
  • may be any of above

3. The symbol ** __ .

  • can be overloaded by changing its datatype.
  • cannot be overloaded, as on overloading its meaning shall be changed.
  • can be overloaded.
  • cannot be overloaded as it is not a C++ operator.

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

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

5. The objects can directly access ?

  • Public members
  • Private members
  • Both of above
  • None of above
Read more from - C++ Programming Questions Answers - Set 2
Post a comment