Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

freeCodeCamp

Pointers in C for Absolute Beginners – Full Course

via freeCodeCamp

Overview

Dive into a comprehensive video course designed for absolute beginners to master pointers in C programming. Explore the fundamentals of computer architecture, memory management, and data types before delving into the intricacies of pointers. Learn through practical examples how to manipulate memory addresses, implement pass-by-reference, and understand the relationship between arrays and pointers. Discover the versatility of void pointers, the utility of malloc, and the concept of function pointers. By the end of this 2-3 hour tutorial, gain a solid understanding of pointer usage in C, from basic concepts to advanced applications, enhancing your ability to write efficient and powerful C programs.

Syllabus

Introduction
What is a computer eli5 CPU, RAM, bytes
Data Types
Intro to processes
process memory layout
Variables in memory
Naive change_value program
Change_value with pointers
The classic swap
Why declaration and dereference have the same syntax for pointers?
Advantages of passing by reference va passing by value
Why do pointers to different data types have the same size?
Given that pointers have all the same size, why do we need a pointer type?
void pointers are confusing
why malloc is handy and more on void*
Are arrays just pointers?
Array Decay into a pointer
why array decay is useful?
arr[5] == 5[arr]
pointers to pointers: **argv
*argv[] or **argv?
pointer to functions
use case with pointers to functions

Taught by

freeCodeCamp.org

Reviews

Start your review of Pointers in C for Absolute Beginners – Full Course

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.