Automatic variable: Difference between revisions

Content deleted Content added
m Reverting possible vandalism by 117.194.197.114 to version by Jakew. False positive? Report it. Thanks, ClueBot NG. (1087827) (Bot)
Line 13:
 
In C++ the constructor of automatic variables is called when the execution reaches the place of declaration. The destructor is called when it reaches the end of the given program block (program blocks are surrounded by curly brackets). This feature is often used to manage resource allocation and deallocation, like opening and then automatically closing files or freeing up memory. See [[RAII]].
The resources should be filled with lots of more info.
The copyrights should not be violated
 
===[[Java (programming language)|Java]]===