1.

Constructor function is not called when an object is passed to a function, will its destructor be called when its copy is destroyed?

A. Yes, depending on code
B. Yes, must be called
C. No, since no constructor was called
D. No, since same object gets used
Answer» C. No, since no constructor was called


Discussion

No Comment Found