C programming of basic concept


#1

What is the static and global memory allocation?


#2

Basiclly , In C there are three type of memory allocation is provided.

  1. 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.