UGC-NET | UGC NET CS 2016 July – III | Question 37

Implicit return type of a class constructor is:
(A) not of class type itself
(B) class type itself
(C) a destructor of class type
(D) a destructor not of class type


Answer: (B)

Explanation: Implicit return type of a class constructor is class type itself.
For more information Refer:C++ Classes and Objects
Option (B) is correct.

Quiz of this Question



My Personal Notes arrow_drop_up