Overview
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