0
How not to destroy a variable when exiting a function? (not static)
For example: int spam(void){ int a[16]; return 42; } How to keep the `a' array undestroyed, but while each time the function is called, there get greated "a new array of size 16"?
1 Resposta
0
A non static variable is never destroyed until program execution finished.