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

This course aims to help absolute beginners understand pointers in C. By the end of the course, learners will be able to grasp the concept of pointers, their various uses, and topics such as passing by reference vs. value, void pointers, arrays, and more. The course teaches skills such as working with pointers, understanding memory addresses, and utilizing pointers in different scenarios. The teaching method includes explanations, examples, and demonstrations to clarify the concept of pointers in C. This course is intended for individuals who are new to programming in C and want to enhance their understanding of pointers and memory management in the language.

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.