What is the static and global memory allocation?
Basiclly , In C there are three type of memory allocation is provided.
- static(Global) 2. Stack 3. Heap
static : in static , When you declared a static or global variable, then this variable defines one block of space and fixed size. and when your program is started then it will autometiclly allocated in memory.