extern and static variable storage ???
Posted
by Riyaz
on Stack Overflow
See other posts from Stack Overflow
or by Riyaz
Published on 2010-05-03T11:09:42Z
Indexed on
2010/05/03
11:18 UTC
Read the original article
Hit count: 221
when will memory created for extern and static variable. Is it in stack or heap.
Since its life time is till the program end, it cant be in stack it must be in heap. But size of the heap will known only at the run time. So somewhat confusion here ......
© Stack Overflow or respective owner