C Programming Tutorial 27, Pointers pt.3

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

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

many thanks. You made the BEST C tutorial on youtube. BEST !!!

kd
Автор

This guy is actually very good. Explains everything very methodically. A little longer tutorials with more examples would have been even more awesome however (not complaining).

Kotik
Автор

basically just memorize that when you try to print an array what the compiler actually does is give you the address (aka pointer) to it's first element (index 0). So DE-referencing it gives you the value of it's first element. I'm assuming the compiler does this because the entire point of having an array is to store multiple elements inside of it, but I'm not 100% sure...It could also have something to do with machine/assembly code (which is what the compiler turns your c code into)

FreeER
Автор

The only part i dont get is that when we print out nums along with pointer they are the same value. We never reference nums as a pointer we store its adress, which confuses me even more that we de-reference it. Sorry, Pointer have always confused me.

Rob-Herrera
Автор

anybody needs this source codes with notes reply

rmz
welcome to shbcf.ru