C Arrays and Pointers to Pointers

C Arrays and Pointers to Pointers

Kris Jordan

3 года назад

17,212 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Grim Rian
Grim Rian - 30.01.2023 13:08

Exellent pedagogical instructor - top class. I consider myself at medium level. I'm writing C code at regular basis, but Kris is closing the the little holes in my knowlegde here and there.

Strange that Kris don't have more subscribers.

Ответить
samuel kassahun
samuel kassahun - 20.12.2022 17:50

Thank you boss!.

Ответить
Collin
Collin - 05.11.2022 01:38

This was so helpful and helped me complete a lab. Thanks.

Ответить
Ahmed Ibrahim (neuodev)
Ahmed Ibrahim (neuodev) - 29.08.2022 10:50

Great job explaning pointers 👍

Ответить
Lazy Tiger
Lazy Tiger - 20.08.2022 08:42

dude your the man I can't believe how underrated your channel is

Ответить
salman khadour
salman khadour - 17.07.2022 00:17

such a good explanation, very thankful for u

Ответить
Nil Obermüller Schaupp
Nil Obermüller Schaupp - 22.01.2022 00:17

Interesting! I had learned C in school but I never imagined that arrays in C is so complex coz Java ran over this language in class.
I'm a Java programmer for the last 17 years and python now and it's so common to work with these types that when you step back to C, man, I got confused LOL Back to basis

Ответить
Johnny ApplePRNG
Johnny ApplePRNG - 18.06.2021 21:47

Wait a minute! What was sizeof words? 3? (around minute 30 ... you asked us and then never explicitly answered I don't think... typing it out in vim now!)

EDIT: Oh geez... apparently the sizeof(words) is 24? How does that happen? sizeof(a) is 2, sizeof(b) is 4, and sizeof(c) is 5.

5 + 4 + 2 = 11 ...

and then you + 1 and * 2 for some reason after that???

EDIT2: Ok I think I get it... Since a is essentially &a and &a is 8 characters long... 8 * 3 elements in words = 24 bytes in total correct?

 :S

Great video by the way!

Ответить