Autoplay
Autocomplete
Previous Lesson
Complete and Continue
Advanced C Programming: Pointers
Pointer Basics
What is this course about?
How to use this course
Course Notes and FAQ
Source Code Archive
Quiz Questions
Quiz Answers
What Is A Pointer
Pointer variables
Indirection
Addresses and Indirection
How to display pointer values
What is the relationship between a pointer and an array
Arrays addresses and pointers
Multiple Indirection
Multiple indirection with integers
Multiple indirection with strings
Indirection and commandline args
Generic pointers
Allocating memory
malloc and sizeof
Functions that cause errors or warnings
calloc
free
realloc
Pointer arithmetic
Calculating an array index
Pointers to structs
Data type alignment
Type Alignment On Boundaries
Type alignment and pointer arithmetic
Lists and data structures
Arrays And Lists
What is a linked list
Singly linked lists
To Free Or Not To Free
Doubly Linked Lists
Programming A Doubly Linked List
Initializing a doubly linked list
Implementing a doubly linked list
What Is A Queue
Queues
What Is A Stack
Stacks
Pushing and popping
Calculating the length of a list
Copying a list
Removing an element from within a list
Adding an element into a list
Function Pointers
Function pointer declarations
An array of function pointers
Common Pointer Problems
Why do pointers cause problems?
Deep And Shallow Copies
A deeper look at deep and shallow copies
Incorrect memory allocation
Casting Pointers
Incorrect casts
Freeing already freed memory
Memory leaks
Using freed memory
Pointers out of scope
Dereferencing a null pointer
And Finally
Doubly Linked Lists
Lesson content locked
If you're already enrolled,
you'll need to login
.
Enroll in Course to Unlock