Advanced C Programming: Pointers

4.6 (1886)
Learning paid
4 hours course
Course by Udemy
What will you learn?
Pointers and addresses
Indirection and multiple indirection
Generic pointers and casts
Memory allocation and reallocation
Pointer arithmetic
Singly and doubly linked lists
Queues and stacks
Deep and shallow copying
Common pointer errors
About the course

To be an expert C programmer you need to master the use of pointers. This course explains pointers in real depth. It explains pointer variables, pointer arithmetic, indirection, memory allocation, how to create and maintain linked lists and how to use function pointers. In fact, by the time you finish this course, you will know pointers inside out. You will understand what they are, how they work and how to make sure that they don’t make your programs crash!

This is not a course for beginners. It is aimed at programmers who already have a good working knowledge of C programming and who need to take the next step in mastering C by gaining a deep understanding of pointers.

If you’ve struggled with pointers  and can’t quite figure out what all those ‘arrow diagrams’ really mean or what exactly is the relationship between pointers and addresses, this is the course for you. In a series of short, tightly-targeted lessons, you will learn all about: 

  • computer memory and how pointers access it
  • how memory is allocated 
  • why copying data using pointers can cause program errors
  • why some pointers are ‘generic’ 
  • what happens when you ‘cast’ pointers to specific types
  • how to create singly and doubly linked lists
  • how to use stacks and queues
  • how to avoid memory leaks and other common problems
  • and much more.

The source code for all the example programs is provided, so if you need to try out my code you can load it and run it in your preferred C IDE or code editor.

Pointer Basics
What exactly are pointers? And why do they matter?
What is this course about?
Who this course is for and what you will get out of it.
How to use this course
What is in the course and how should you study it?
Course Notes and FAQ
Source Code Archive
What is a pointer?
Pointers and addresses - how are they related?
Pointer variables
How to create and use a pointer variable in C.
Dereferencing to get at the data that is ‘pointed to’.
Pointer Basics
What are pointers?
Study Notes – Step One
This document contains some brief notes on topics covered in Step One of the course. You may want to refer to use these notes as a revision aid or to help clarify important points from this section.
Addresses and Indirection
Now we explore the relationship between pointers, addresses and data stored in memory
What is the relationship between a pointer and an array (or string)?
The address of the array is the same as the address of the first item in the array. Why is that important?
  • You should understand at least the basics of C programming
Huw Collingbourne
Huw Collingbourne
Director of Technology, SapphireSteel Software
Udemy courses are suited to professional development. The platform is organized in such a way that it is experts themselves that decide the topic and when the course will start. All supporting documents are made available to you for lifetime access. On this platform, you can find a course on about any subject, and that is no exaggeration – from a tutorial on how to ride a motorcycle, to managing the financial markets. The language and the course format are established by the teacher. This is why it is important to read the information about the course carefully before parting with any money.
Comments (1886)
Like any other website, konevy uses «cookies». These cookies are used to store information including visitor's preferences, and the pages on the website that the visitor accessed or visited. The information is used to optimize the users' experience by customizing our web page content based on visitors' browser type and/or other information. For more general information on cookies, please read the «What Are Cookies» article on Cookie Consent website.