Memory Layout In C

The memory layout of C program mainly comprises five segments these are the stack segment, heap segment, BSS (block started by symbol), DS (Data Segment), and text segment. But you should remember actual memory layout in C might be more complex because C program memory layout is specific to the processor,…