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. The major goal of inheritance in C++ is ?

  • To facilitate the reusability of code
  • To help modular programming
  • To facilitate the conversion of data types
  • To extend the capabilities of a class

2. In C++ Functions can returns ?

  • arrays
  • reference
  • objects
  • all of above

3. The antonym of constructor is ?

  • Creator
  • Distinct
  • Destroyer
  • Destructor

4. Which is more memory efficient ?

  • structure
  • union
  • both use same memory
  • depends on a programmer

5. 66. A constructor function is generally defined

  • In the private section of a class
  • In the public section of a class
  • In the protected section of a class
  • None of the above
Read more from - C++ Programming Questions Answers - Set 2
Post a comment