Pointers in C for Absolute Beginners – Full Course

Subscribers:
10,700,000
Published on ● Video Link: https://www.youtube.com/watch?v=MIL2BK02X8A



Duration: 2:04:29
86,911 views
3,187


Finally understand pointers in C in this course for absolute beginners. Pointers are variables that store the memory address of another variable. They "point" to the location of data in memory. With a bunch of examples, this course demystifies pointers and their various uses, covering topics such as passing by reference vs. value, void pointers, arrays, and more.

✏️ Course created by @onaecO

⭐️ Contents ⭐️
(0:00:00) Introduction
(0:00:39) What is a computer eli5 CPU, RAM, bytes
(0:08:04) Data Types
(0:13:31) Intro to processes
(0:16:44) process memory layout
(0:19:17) Variables in memory
(0:23:01) Naive change_value program
(0:28:05) Change_value with pointers
(0:33:03) The classic swap
(0:34:05) Why declaration and dereference have the same syntax for pointers?
(0:38:39) Advantages of passing by reference va passing by value
(0:45:26) Why do pointers to different data types have the same size?
(0:47:49) Given that pointers have all the same size, why do we need a pointer type?
(0:58:16) void pointers are confusing
(1:00:14) why malloc is handy and more on void*
(1:09:09) Are arrays just pointers?
(1:25:00) Array Decay into a pointer
(1:32:59) why array decay is useful?
(1:37:49) arr[5] == 5[arr]
(1:39:04) pointers to pointers: **argv
(1:47:11) *argv[] or **argv?
(1:52:41) pointer to functions
(1:59:02) use case with pointers to functions

🎉 Thanks to our Champion and Sponsor supporters:
👾 davthecoder
👾 jedi-or-sith
👾 南宮千影
👾 Agustín Kussrow
👾 Nattira Maneerat
👾 Heather Wcislo
👾 Serhiy Kalinets
👾 Justin Hual
👾 Otis Morgan

--

Learn to code for free and get a developer job: https://www.freecodecamp.org

Read hundreds of articles on programming: https://freecodecamp.org/news




Other Videos By freeCodeCamp.org


2023-07-20Full Stack Next.js & Supabase Twitter Clone – Full Course
2023-07-18Python Tkinter GUI Design Using ttkbootstrap - Complete Course
2023-07-13Postman API Test Automation for Beginners
2023-07-11Learn Terraform with Google Cloud Platform – Infrastructure as Code Course
2023-07-06Create a Programming Language and Learn Advanced Python – Full Course
2023-07-03Hot Dog or Not Hot Dog – Convolutional Neural Network Course for Beginners
2023-06-29Code a 3D RPG Action Game – Godot GameDev Tutorial
2023-06-27Advanced C# Programming Course
2023-06-21Pandas & Python for Data Analysis by Example – Full Course for Beginners
2023-06-20Learn Supabase (Firebase Alternative) – Full Tutorial for Beginners
2023-06-15Pointers in C for Absolute Beginners – Full Course
2023-06-13Microsoft Power Platform Fundamentals (PL-900) — Full Course Pass the Exam!
2023-06-08Learn Rust Programming - Complete Course 🦀
2023-06-06Deep Learning for Computer Vision with Python and TensorFlow – Complete Course
2023-06-01Neo4j Course for Beginners
2023-05-30Build AI Apps with ChatGPT, DALL-E, and GPT-4 – Full Course for Beginners
2023-05-25Build and Deploy a LeetCode Clone with React, Next JS, TypeScript, Tailwind CSS, Firebase
2023-05-24Django ChatGPT Clone Tutorial
2023-05-22Full-Stack Next.js, TypeScript, and AWS Course – Code a Quote Generator
2023-05-18Use ChatGPT to Code a Full Stack App – Full Course
2023-05-16JavaScript Security Vulnerabilities Tutorial – With Code Examples