C Programming Tutorial – 44 – Arrays and Pointers

[ad_1]
Facebook –
GitHub –
Google+ –
LinkedIn –
reddit –
Support –
thenewboston –
Twitter –


Posted

in

by

Tags:

Comments

29 responses to “C Programming Tutorial – 44 – Arrays and Pointers”

  1. Anthony Sim Avatar

    I thought the first address was the location of the value 7, but the first address is meatBalls? Confused.

  2. Muhammad Zafar Avatar

    It really helped (watching twice), you are cool ! { NAPSTER }

  3. 王鴻文 Avatar

    I've never heard so many meatballs in a day before

  4. Gabi Galer Avatar

    Does anyone know why when he printed *meatBalls as a pointer (%p) it showed a bunch of 0s followed by the value of *meatBalls as an integer (%d)?

    printf("meatBalls t %p", *meatBalls) = 00000000007;

    printf("meatBalls t %d", *meatballs) = 7;

  5. ZY LJ Avatar

    where is the forum??

  6. ZY LJ Avatar

    how many tutorial videos are there totally?

  7. Ngọc Thành Đào Avatar

    Thanks Bucky so much about this lesson 🙂

  8. Osama Zahid Avatar

    I was having some serious problems with pointers and stuff before i saw your videos!
    Thank you so much man! You're doing an amazing job here!

  9. Ashutosh Kaushik Avatar

    just watch this video in 144p……..

  10. Rbt618 H. Avatar

    I am trying to store an int and a string in an array – didn't work. So I created two arrays one for each and tried putting pointers to each in a third array – – a whole bunch of errors. Q.) is there any way I can do this.I need to story two ints the coordinates of an object … the int X, int Y and the object or it could be a name – string. I am not very advanced in C++ but I hope there is something you can comeup with that I can understand.

  11. Wahid Hamidy Avatar

    i realized that u really try hard to explain this vid in an appropriate way for ur vid followers to catch something from it
    that means a lot to me, thanks alot
    keep it up

  12. Jabberwocky Avatar

    OMG! So instead of writing &test_array[0] you can just write test_array! And instead of writing test_array[0] you can write *test_array! That is so incredibly useful, Mind = blown!

  13. Vanquisher Azzinoth Avatar

    Guys he probably knows that the size of sight is not good and he should've probably zoomed in but now it's late. Please use windows key + (+ key) and you can zoom on your own, its better than the default.

  14. TheMarvpaul Avatar

    Thank you for this outstanding tutorial!

  15. Tiara Rozed Avatar

    do zoom in. i need my eyes to see what is going on.

  16. shizyninjarocks Avatar

    Please zoom in. My eyes are achy.

  17. yerrapotu kiran Avatar

    int bro[2]={4,8,12};
    printf("n brocode: %p n ", bro);
    printf("bro-tip: %d n, *bro);
    printf(" No of times bro-zoned: %d n ", *(bro+2));

    u know the result

  18. Submersed24 Avatar

    This makes computer science so fun. I cant stand lectures with no personality, very uninspiring. These vids are the best!

  19. Bikash kumar jha Avatar

    The font size is very small , so it is hard for me to see the lines.

  20. Tim Fleckenstein Avatar

    your tutorials are a bit like game of thrones.

    I just wanna watch the next episode as soon as the current is finished

  21. steve frt Avatar

    Thanks you so much

  22. RandTheRand Avatar

    once it's dereferenced does that mean the array doesnt exist anymore?

  23. Kristine Bunnell Avatar

    Do you think maybe you could have the video get closer to the code?
    I was trying to follow along using Visual Studio, but the text is so small I have to continue putting it in fullscreen and going back and forth.

  24. Seema Pradhan Avatar

    I need a magnifying glass to read the tiny text.. 😛
    But the video is always, GREAT!

  25. ManiProgrammingAndAnimation Avatar

    Awesome lesson! I have an example of how to use pointers to find elements in arrays on my channel if anyone needs help!

  26. Guitarheroant Avatar

    I already got the idea ! You just want to show us other way to see the values of an array without use the for cycle!

    Just like this: (advantege of the acumulator i)

    int meatBalls[5] = {7, 9, 49, 21, 3};
    int i = 0;
    while(i < 5)
    {
    printf("*(meatBalls[i]) = %d", *(meatBalls + i));
    i++;
    }

Leave a Reply

Your email address will not be published. Required fields are marked *