When we create a C program, its memory management looks something like this. Here we can see different sections that are stack, heap, globals , constants and code.
Lets see a brief intro about each section :
Stack : This is memory where generally pro...