YoVDO

Pointers in C for Absolute Beginners – Full Course

Offered By: freeCodeCamp

Tags

C Programming Courses Memory Management Courses Pointers Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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

Related Courses

Heterogeneous Parallel Programming
University of Illinois at Urbana-Champaign via Coursera
Advanced Operating Systems
Georgia Institute of Technology via Udacity
計算機程式設計 (Computer Programming)
National Taiwan University via Coursera
Introduction to Operating Systems
Georgia Institute of Technology via Udacity
Android Performance
Google via Udacity