download Mastguru Android App

Question Detail

Constructors has return type void ?

  • True
  • False
Similar Questions :

1. Inheritance is referred to as

  • “is a” relationship
  • "have a" relationship
  • both of above
  • none of above

2. Enumerators are stored by the compiler in ?

  • string
  • integer
  • float
  • any of above

3. Can we define array of classes in c++ ?

  • Yes
  • No

4. How we can define member function outside the class ?

  • Using union
  • Using structure
  • Using pointers
  • Using scope resolution

5. Size of a char is ?

  • 1
  • 2
  • 3
  • 4
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 10 years ago

    constructors donot have any return type not even void

  • ABC 10 years ago

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