Pointers in C

preview_player
Показать описание
A pointer is a variable that holds the address of another variable. Used carelessly they are a sure way to write hard-to-understand programs. However, used correctly, they unleash the power of the C programming language.

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

I studied C native in University on Solaris and this explanation of pointers is far and away better.
Better on all fronts. Well done Sir.

TheSar
Автор

Me: Visual Studio for C with autocompletion for smallbrain
Him, a divine being: nano on a Rasperry Pi Zero for C.

HunterR
Автор

I feel that despite not having any fancy visuals or elaborate analogies, I feel I intuitively understood more in these 10mins with your video than I did through multiple other longer videos combined. I don't know how you did it but thank you!

Seaprimate
Автор

To people getting this error message from gcc: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘int *’

Change %x to %p and it will work.

SwedishDude
Автор

I just started learning programming (several weeks now) and your video really helps me a lot in understanding pointers. Which is, from what I heard, is one of the hardest subject in C programming.

john_avernia
Автор

Currently in a college course learning C and this is the only explanation I've heard in class or on the internet that makes pointers make sense. Can't thank you enough.

liamhulsey
Автор

I have been browsing for tutorials and found many on YouTube for things I already know, I found yours to be one of the best and I will keep your link here with me. Job well done.

fifaham
Автор

Oh I wanted to make a tutorial on pointers myself called "How to SegFault in C"

skylo
Автор

Great video! pointers are definitely one of the more tricky parts of C that I have faced, especially when going for data structures (linked lists, dynamic arrays... ) with allocating and freeing and so on...

DND
Автор

Thank you for demystifying pointers for me. They have been a real pain in my neck.

mukukakondowe
Автор

Excellent explanation. Simple, going straight to the point.

felaflame
Автор

By far the best explanation of pointers I have come across

abrahamnzau
Автор

4:30 & tells you the address, * tells you the dereferenced value
6:50 in c an array name is equivalent to its pointer
7:30 increment the pointer

Ejeby
Автор

Dude, you're a godsend, I could not understand pointers for the life of me before watching this video

ShadowPianoProductions
Автор

Your tutorial in C was superb ! Make more tutorials and gain the attraction of new developers and of course you are great !

handyman_chef
Автор

I'm just in the beginning of getting into C after learning Python. There really is something beautiful about how basic and (relatively) low-level it is.

JJSogaard
Автор

I didn't learn anything new about pointers, but boy oh boy I had no clue some shells supported the exclamation point notation for repeating previous commands, that makes me excited.

pcache
Автор

I went through so many tutorials just to understand this...Only this single fast-paced video helped me understand... Thank you.
Please tell me there are more videos like this

brokenicry
Автор

Best pointers explanation I've seen!

woomlrweiriwueiru
Автор

Now I understand how pointers work, after 4 years of trying. Thanks for explaining, Gary!

MrGman