Dynamic memory management is a core part of any program written in C. This course will teach you how to safely allocate memory at runtime and will give you the tools you need to facilitate the creation of C programs that are memory-efficient.
There are far too many programs and applications today that use too much memory. These computer programs take advantage of the relatively large amount of memory available on the average computer today. In this course, Managing Data and Memory Allocation in C, you will learn how to dynamically allocate memory in a safe and efficient manner. First, you’ll explore the different memory segments available to a C program and you’ll learn how memory is dynamically allocated from the heap segment. Next, you’ll discover the different memory functions available for use within the C standard library and how to use pointers along with these functions and arrays in order to dynamically allocate and free memory at runtime. Finally, you’ll learn how to allocate memory for data structures in your application. You will create your own fixed-block memory pool manager. When you’re finished with this course, you’ll have the skills and knowledge of memory management within C needed to create safe and memory-efficient programs and applications.
Zach is currently a Senior Software Engineer at VMware where he uses tools such as Python, Docker, Node, and Angular along with various Machine Learning and Data Science techniques/principles. Prior to his current role, Zach worked on submarine software and has a passion for GIS programming along with open-source software.
Course Overview Hi, everyone. My name is Zachary Bennett, and welcome to my course, Managing Data and Memory Allocation in C. I'm a professional software engineer, mentor, and technical author. The C programming language sometimes gets a bad rap for being complex. Most of this supposed complexity comes from working with memory in data at a low level. In this course, we're going to show how managing memory in C can be simple. Some of the major topics that we will cover include core memory management functions, memory management with pointers, memory management with arrays and structures, and memory pools and memory managers. By the end of this course, you will know how to manage dynamic memory in C using a variety of techniques. Before beginning the course, you should be familiar with basic C syntax and programming fundamentals. I hope you'll join me on this journey to learn how to manage memory in C with the Managing Data and Memory Allocation in C course at Pluralsight.