download Mastguru Android App

Question Detail

Constructors has return type void ?

  • True
  • False
Similar Questions :

1. Which of the following cannot be passed to a function ?

  • Array
  • Reference variable
  • Object
  • File

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

  • free
  • void
  • empty
  • null

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

  • True
  • False

4. Which among following is not a valid visibility mode in c++ program ?

  • Private
  • Public
  • Protected
  • Limited

5. Enumerators are stored by the compiler in ?

  • string
  • integer
  • float
  • any of above
Read more from - C++ Programming Questions Answers - Set 2
Post a comment

  • Chowmya Rajakumar 8 years ago

    Constructors have no return type not even void

  • Abbas Haider 9 years ago

    constructors donot have any return type not even void

  • ABC 9 years ago

    no return type (Not even void) can be specified for a constructor