download Mastguru Android App

Question Detail

Constructors has return type void ?

  • True
  • False
Similar Questions :

1. & operator is ?

  • address operator
  • indirection operator
  • logical and
  • logical or

2. How we can access data members using objects ?

  • object@datamember
  • object*datamember
  • object->datamember
  • object.datamember

3. 37. Which of the following statements is false ?

  • Using typedef does not replace the standard C++ data type name with the new name
  • The new name defined by typedef, can be used as a type for another typedef
  • typedef defines new data types
  • None of the above

4. Among following which will give the size of object or type ?

  • Calloc
  • Malloc
  • Sizeof
  • Realloc

5. Which operators can not be overloaded ?

  • Binary operator
  • Ternary operator
  • Unary operator
  • All can be overloaded
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 10 years ago

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