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

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This beginner course introduces pointers in C through memory layout, variables, pass-by-reference, dereferencing, arrays, dynamic allocation with malloc, void pointers, pointer-to-pointer syntax, and function pointers.

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

5.0 rating, based on 1 Class Central review

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

  • I took this course THIS DAY at absolute my WOrst! I don't where my life turn around but one thing i know for sure if i show up daily the results don't have a chance too!
    this is around 203rd review and i am feelin's like shit! Yah i just wanna say thsi course was really great i learned so much about abstraction, pointers, data, and low-level stuff like how memory & embedded system works through COde!

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.