Programming - Constructor - Discussion

You Are Here :: Home > C++ Language > Constructor - Discussion

 



Q.

Which of the following statements are correct?                         


A. Constructor is always called explicitly. B. Constructor is called either implicitly or explicitly, whereas destructor is always called implicitly.
C. Destructor is always called explicitly. D. Constructor and destructor functions are not called at all as they are always inline.

Answer: Option B
Explaination:

 


No Explanation




Discussion

Your Comments Goes here...
NameDiscussion