Hello all,
I ahve an doubt on storage method.
The local variable are stored in stack, dynamic variable are stored in heap.
But, i have a doubt, that where can i store the Global variable ?.
Printable View
Hello all,
I ahve an doubt on storage method.
The local variable are stored in stack, dynamic variable are stored in heap.
But, i have a doubt, that where can i store the Global variable ?.
Globals along with static variables are located in the program's data segment.