EmbLogic's Blog

Author Archives: deepanshuemblinux

Memory Layout of C Programs

A typical memory representation of C program consists of following sections. 1. Text segment 2. Initialized data segment 3. Uninitialized data segment 4. Stack 5. Heap A typical memory layout of a running process 1. Text Segment: A text segment … Continue reading

Posted in Data Structures with C | Leave a comment