Physics, asked by gandhimemes27, 9 months ago

constructor function is not called when an object is passed to a function, will it's elestructor be called when it's copy is destroyed

(a) yes, depending
(b) yes, must
(c) no, since no con
(d) no since some​

Answers

Answered by kez2
2

Even though the constructor is not called when the object is passed to a function, the copy of the object is still created, where the values of the members are same.

hope it helps you mate

pls follow me

Similar questions