Memory
-----------------
c code (bin) --> 1
-----------------
static data --> 2
-----------------
stack --> 3
-----------------
Heap --> 4
-----------------
1) Machine instruction aka your compiled C code
2) Gloable variable, static variables (variables which exists throught program)
3) Dynamically allocated storage (linked list created using malloc())
4) Info about function call in your code
Hope this clears the picture
