Pointers in C for Absolute Beginners – Full Course

preview_player
Показать описание
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

--

Рекомендации по теме
Комментарии
Автор

I loved it! I sat down and typed the whole thing and every exercise and this helped a lot. The explanations and examples are really good, I learned a lot even if I thought I was not a total beginner. :)

D
Автор

I just started learning C/C++ and this gets dropped, definitely you guys are amazing, thank you for the course! This is really helpful <3

rowancode
Автор

Amazing video, with extremely clear explanations of what pointers are and how to use them. Thank you very much!

meuhch
Автор

All the Code used and few notes here:

I learnt myself a lot with freeCodeCamp and now, crazy enough, i produce myself tutorials!
I will always be a promoter of this amazing project, empowering people for free all over the world.
A particular mention to Beau that allowed me to be part of this, such a gentleman! ❤

onaecO
Автор

As a computer science engineer I can see how understanding pointers pavement you to understand the underneath meaning of variables, arrays and complex structures. That's something that we all are forgetting with 'modern' languages.

juanmanuelfuentes
Автор

Great class! Just finished it, pointers explained with mastery, thanks!

eduardof.vicentini
Автор

This is just the best course about pointers that I found online! 😀

minimalSwift
Автор

Awesome masterclass! Really well explained and very comprehensive, thx for this content!!

diegoignacioantonioquintan
Автор

The first 40 minutes was all it took for me to understand this concept of pointers clearly.
Great Tutorial!

buddikagunawardena
Автор

Brilliant, very well explained. Thank you for sharing your insight.

kevincodes
Автор

Interesting and informative video to watch - thank you very much!

tvxlc
Автор

So anyway this is the best C Tutorial on YouTube…. Well Done!!! 👏🏽 👏🏽 👏🏽

CarCinCal
Автор

I have just watched this video. And I would tell you that you got a new follower.
Such a great video.
Also the site you mention to visualize how pointers work.
I really advice people to watch this video and to be patient.
According to me. I understand the whole idea about pointers by the first 40 minutes.

Abdallah..................
Автор

Wow! Running the program at the visualization site, we can visually see how the pointer is working. Great! Thank you for the insightful lecture.

slowcoding
Автор

C is a classic language never get old evergreen thank you once more FFC

gabrielgomesmabiala
Автор

I loved this! I finally understood the pointer concept. Thank you for this.

phantom_vasploit
Автор

wow, it makes me understand things! Thank you!

Naoty_san
Автор

Brilliant video. Also subbed and clicked the bell. Waiting for your next video.

sairajdas
Автор

As someone who learned pointers at university, I found the video really useful, especially the introduction about computer memory.
In my opinion, it's not really dedicated to "Absolute Beginners".
Thanks for your efforts.

veplexer
Автор

Very good tutorial. Could say it's the best on the market and it's free. Would gladly donate

Anduuu