+ 1
Is the working order of a constructor and a destructor in c++ different?
Plzz give a suitable answer
3 odpowiedzi
+ 8
The constructor is called when the object is created, and the destructor is called when the object is destroyed (usually at the end of the program).
+ 2
Thanx for the answer
0
yep , the working order of constructor & destructor is different.