Introducing Pointers and the Address Of Operator in C

Sdílet
Vložit
  • čas přidán 22. 07. 2024

Komentáře • 14

  • @dreadesina5216
    @dreadesina5216 Před 3 lety +8

    I don't know why people can be under appreciative of a free educational contents especially the intuitive ones. This channel deserves more viewers and subscribers smh.Thank you sir and may God reward you abundantly.

    • @adrianaerakovic9259
      @adrianaerakovic9259 Před 2 lety

      I am studying C on my own and so glad I ran into this channel! Very helpful content! been watching all the videos almost and will probably go over to the Computer Science section as well. :)

  • @zyxwvu97
    @zyxwvu97 Před 2 lety +1

    This is a great series. Even though I have been writing C programs for a while(non CS background), I still learned a lot from this. Thank you so much for making it accessible to everyone!

    • @zyxwvu97
      @zyxwvu97 Před 2 lety

      also, love the meme references ;)

  • @wendymeng5013
    @wendymeng5013 Před 2 lety

    Amazing video, thank you!

  • @joshuauzoagulu5923
    @joshuauzoagulu5923 Před rokem

    Thank You for this Lecture!!!

  • @grimvian
    @grimvian Před rokem

    At 41:35 line 21, I mistankenly thought that I could write *char_ptr++; meaning increment the content of what char_ptr was pointing at. But my code increment the pointer address instead. I normally regard the star notation as either create a pointer or working with the content of what the pointer is pointing at.
    But I think, I can boil line 21 down to (*char_ptr)++; and the code should work correctly...
    Kris C videos is in top three of all the learning C videos on YT and I have studied a lot. The videos are well prepared and structured. When Kris says a kvik intro, he means almost an hour and thanks for that.
    I really, really hope Kris would make more C videos - maybe also about idiomatic C... - please :o)

    • @grimvian
      @grimvian Před rokem

      I think, I now understand. The parantheses have a higher hierarcy and the expression is evaluated from right to left...
      int a = 2;
      int *b = &a;
      int *c = b;
      *c = (*b) * (*b);
      printf("%d
      ", *c);
      The above code should be valid...
      If I had a time machine, I would go 50 years back and try to convince Brian Kernigan to use another operator than the * operator for pointers. :o)

  • @songpitou5831
    @songpitou5831 Před 3 lety

    Thank you so much sir!!!!!

  • @johnnyappleprng614
    @johnnyappleprng614 Před 3 lety

    Where is the value of x stored in the else block around 21:45?
    x - 1 is being sent to sum, but where is the + x being sent to?

  • @mohammadballour6504
    @mohammadballour6504 Před 2 lety

    I will be grateful if you upload the slides on your github account (or anywhere else!)
    Thank you in advance, professor

  • @Ichbinwkl
    @Ichbinwkl Před 2 lety

    does any body have an idea, where to find rest parts of this series of C-Programming? in the channels, there is no such one named "C Programming" or similar . Find this tutorial very useful and want to see the rest of it.

    • @SalihFCanpolat
      @SalihFCanpolat Před 2 lety

      Intro to Systems Programming, the C Language, and...

    • @harshitjoshi3082
      @harshitjoshi3082 Před 2 lety +1

      czcams.com/play/PLKUb7MEve0TjHQSKUWChAWyJPCpYMRovO.html