Physics, asked by gandhimemes27, 7 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​

Answers

Answered by sukhwindersaini22925
0

Explanation:

Constructor function is not called when an object is passed to a function, will its destructor be called when its copy is destroyed? Explanation: 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.

Answered by ashutoshmeena1617
0

Explanation:

HOPE IT HELP YOU

MARK AS BRAINLEAST

Attachments:
Similar questions