variable inside constructor

automatic variables are destroyed upon function exit what about variables created inside constructors

if an object constructor creates an automatic variable does it get destroyed upon construction completion or it will be destroyed when the object will be destroyed?
All variables declared in a constructor go out of scope when the constructor returns.
Topic archived. No new replies allowed.