Skip to Main Content
Extreme C
book

Extreme C

by Kamran Amini
October 2019
Intermediate to advanced content levelIntermediate to advanced
822 pages
20h 45m
English
Packt Publishing
Content preview from Extreme C

Chapter 04

Process Memory Structure

In this chapter, we are going to talk about memory and its structure within a process. For a C programmer, memory management is always a crucial topic, and applying its best practices requires a basic knowledge about memory structure. In fact, this is not limited to C. In many programming languages such as C++ or Java, you need to have a fundamental understanding of memory and the way it works; otherwise, you face some serious issues that cannot be easily traced and fixed.

You might know that memory management is fully manual in C, and more than that, the programmer is the sole responsible person who allocates memory regions and deallocates them once they're no longer needed.

Memory management is different ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Effective C

Effective C

Robert C. Seacord
Modern C

Modern C

Jens Gustedt

Publisher Resources

ISBN: 9781789343625Supplemental Content