[Solved] Memory layout of C program
In general, memory is laid out as such: High Addresses ————– | Stack | ————— | | ————— | Heap | ————— | Static Data | ————— | Code | ————— Low Adresses When you initialize a local variable like a, b, age, each variable is allowed to occupy a space on the the stack … Read more