Constructor - Definition,Features,Properties

Q.  C++ : Which of the following statement is correct?
- Published on 17 Jun 15

a. Constructor has same name as its class name.
b. A constructor is called at the time of object creation.
c. Default constructor has no parameter.
d. All of the above.

ANSWER: All of the above.

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)