Master C Language Pointers
1h 33mAdvanced2020-04-21
Authors

Dan Gookin
Creator, Teacher, and Technology Writer with 20+ years of experience
Course details
Struggling with the concept of pointers in C programming? You're not alone. While pointers can be defined simply as variables that hold a memory location, even experienced coders are often intimidated by this powerful part of the C language. In this advanced course, instructor Dan Gookin shines a spotlight on pointers, starting with the basics and then building upon that foundation. Dan covers the essentials of obtaining, storing, and using addresses; memory allocation and buffers; and linked lists. He then digs into some more advanced concepts, including how to send a pointer to a function, sort pointers, and use pointers to manage memory.
Skills covered
CProgramming LanguagesOpen SourceSoftware DevelopmentDeep Dive (X:Y)
Concepts
0. Introduction
- 01 - Conquer your pointer fears
- 02 - Compiling the code
1. Pointer Basics
- 03 - Understanding pointers
- 04 - Exploring pointer tools
- 05 - Using pointers as function arguments
- 06 - Working with function pointers
- 07 - Challenge - Obtain an address
- 08 - Solution - Obtain an address
2. Memory Allocation and Buffers
- 09 - Comparing arrays and pointers
- 10 - Allocating storage
- 11 - Exploring allocation functions
- 12 - Accessing the buffer
- 13 - Working with pointers in structures
- 14 - Creating structure pointers
- 15 - Saving pointers and buffers
- 16 - Challenge - Saving and reading a record
- 17 - Solution - Saving and reading a record
3. Linked Lists
- 18 - Understanding a linked list
- 19 - Implementing a linked list
- 20 - Removing structures
- 21 - Adding structures
- 22 - Creating a double-linked list
- 23 - Saving a linked list
- 24 - Challenge - Manage a linked list
- 25 - Solution - Manage a linked list
4. Advanced and Crazy Pointers
- 26 - Understanding pointers to pointers
- 27 - Sending a pointer to a function
- 28 - Sorting pointers
- 29 - Managing memory
- 30 - Creating pointers to functions
- 31 - Challenge - Manipulate a pointer array
- 32 - Solution - Manipulate a pointer array