Discussion :: Constructors and Destructors - General Questions (Q.No.9)
|Akash Goyal said: (Aug 27, 2012)|
|Global variable are the scope of the whole programs when programs are triminates than global variables space are destroyed.|
|Niladri S said: (Jul 27, 2013)|
|I think @Akash is right. But I would like to expand one thing Global variable has a public visibility label i.e; it is visible to every one whether it is a whole program or between two files. So, when the execution of the program terminates, it is destroyed.|
Post your comments here:
Email : (optional)
» Your comments will be displayed only after manual approval.