Vidyalelo
C++ Programming · Q47

Constructors and Destructors in C++

Programming · C++ Programming · question 47

Q47

What is the difference between constructors and destructors?

A.
They have a different function name
B.
Constructors does not have return type whereas destructors do have
C.
Constructors allow function parameters whereas destructors do not
Answer
D.
Constructors does not function parameters

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board