electroRF
Member
Hi,
I'm progamming in C.
when I define global variable, i.e. outside all functions, at what point its memory is allocated?
Is the memory of the Global variable part of the heap? (by heap, i mean the memory section which includes all the local variables / pointers/ etc)
Thank you.
I'm progamming in C.
when I define global variable, i.e. outside all functions, at what point its memory is allocated?
Is the memory of the Global variable part of the heap? (by heap, i mean the memory section which includes all the local variables / pointers/ etc)
Thank you.