Pointers - C Programming Tutorial #9

preview_player
Показать описание
Today we learn about pointers in C.

◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
📚 Programming Books & Merch 📚

🌐 Social Media & Contact 🌐

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

I learned a lot more from this video than from my teachers, cool vid

alegendazsomi
Автор

Thank you very much, very helpful video.

davidsulaberidze
Автор

Today is brought to you by what's the point of the pointer pointing to a pointer which is a de-ref'd pointer pointing to a pointing pointer which is really pointing to the letter 'A' - Sesame Street 1986

TheRetroEngine
Автор

Please lauch a tutorial for python Django and flask please 🙏🙏🙏

anupamagrawal
Автор

22:06 Actually if the value of the memory just after variable c was non zero, the program would print something else.

asntrk
Автор

Your example of dereferencing a pointer to a char worked purely by luck that the executable zeroed the memory after the character.

alphabasic
Автор

"I know what you're thinking. Did I de-ref that pointer 5 times or only 4. Do you feel lucky?"
Seriously though, insane levels of indirection are are one big reasons why I quit C. I can't keep track of them after a very short bit. Ref the dereffed ref to the ref that refs the ref de-reffing the reffed ref. Right?
"Oh yeah? Well how 'bout the rights of that little Char?"

thomasgoodwin
Автор

This is an erroneous way to demonstrate pointers and memory use. You should use arrays because elements of those will always be contiguous. Compilers are not required to allocate memory of sequentially declared objects in contiguous memory.

alphabasic