Sunday, 15 December 2013

Personal 2

stack unwinding.

the constr creates momory allocation for type in this case for stack allocation.the memory allocated is destroyed with in block scope.even if exception occurs the complete memory allocated is unwound from stack,in reverse order of memory allocated because stack lifo.

No comments:

Post a Comment