C Programming Tutorial 94 - Intro to Pointers and Indirection Operator

preview_player
Показать описание


~~~~~~~~~~~~~~~ CONNECT ~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~ SUPPORT ME ~~~~~~~~~~~~~~

🅑 Bitcoin - 3HnF1SWTzo1dCU7RwFLhgk7SYiVfV37Pbq
🅔 Eth - 0x350139af84b60d075a3a0379716040b63f6D3853
Рекомендации по теме
Комментарии
Автор

This guy literally explained in 7 minutes what my professor tried to explain in 1hr and 20 minutes of lecture. Hats off to you

jibrilmohamed
Автор

Thank you so much Caleb, I didn't know int *p was to 'create' the pointer and *p could be used later to point to the variable that p is pointing to! I've had so much confusion from this small part and I now find pointers and even double pointers quite easy!

kynan
Автор

Great explanation, encountered pointers working on my microelectronic project and this is exactly what I needed to know, this is extremely useful for what I'm trying to do, clear explanation in 7 minutes, awesome! Thank you!

ajsorensen
Автор

The biggest confusion for me was "*"
having:
int *p;
and using *p to get a value was bugging me.

Thank you so much for clarifying and saying "*" means different things in the two instances.

kindgufuu
Автор

Crystal clear Caleb, Nobody till now explained it so simple!

angelosnegkas
Автор

4:37 "this is what I don't like, but we're just going to have to deal with it" hahahaha I'm cryinggg

demimedina
Автор

This kid is so smart! I assume he is a lot younger than me. I'm in my mid 30's in college learning computer science. I was having trouble learning this part of C. I got a book, went online and learned. Now I got it! If I had come across this video first I would have understood this pointer concept a lot faster. Great job on the video and explaining this! Also, love your style of humor!

davidbartholomew
Автор

Oh man, I was going to make a joke about pointers, but you beat me to it right in the beginning!

At any rate, thanks again so much for making these wonderful tutorials.

PunmasterSTP
Автор

So a way to look at this is the pointer grants access to the source, whereas the variable only grants access to the source within its scope, with arguments being copy of the source rather than a reference to the source. This has implications on how you handle your logic, and it is up to the developer to decide what is needed given the context of the problem. Similar to if I were giving an English speaking alien somewhere in the universe either a copy of my resume, or an address on how to get my resume. If I pass a copy of my resume, they have all the information they need to determine whether I'm a perfect candidate for that sick Alien Probing IT position, but if I send over an address to my resume, they still have access to my information but they can also modify my source copy and write mean words all over it.

snowzZzZz
Автор

Phenomenal explanation! It made 100% sense.

Lexyvil
Автор

Fantastic video, thanks. So clearly explained.

Max-mnqn
Автор

Great video, thanks Caleb! I came here to learn about pointers as part of my comp sci course. Which video do you first cover the & symbol? I feel like I need some more info on it

luisatierney
Автор

Omg, the sound of the chalkboard. Love it

p_molnar
Автор

thanks man, i was getting really confused about the fact that the asterick can be used to define a pointer per se but also for obtaining the value the pointer points to.. now im kinda getting that int *p= &x ; is the same as doing int *p; and then p= &x; didnt know that thank you very much

giovisantangelo
Автор

Thanks for help to understand this crazy stuff :)

IsmailAydemir
Автор

Thanks. And your teaching skills are on "point" too :)

EnlistedExp
Автор

you're awesome !
God bless you!

HeberMN_
Автор

You have saved my ass today with your pointers!

divyanshusiwach
Автор

that was the cleanest handwritten ampersand i've ever seen

minjipark
Автор

4:00 What a simply accurate example. I feel exactly that way🤣

s.danielaviersbachg.