Block statements and memory management

Murilo murilomiranda92 at hotmail.com
Sat Mar 16 03:47:43 UTC 2019


Does anyone know if when I create a variable inside a scope as in
{int a = 10;}
it disappears complete from the memory when the scope finishes? 
Or does it remain in some part of the memory? I am thinking of 
using scopes to make optimized programs that consume less memory.


More information about the Digitalmars-d-learn mailing list