Skip to content
0:00 / 0:00

#pointers#memoryaddress#passbyreference

21:Everything u need 2 know about pointers -Richard Buckland

UNSW eLearning

70K subscribers • 2 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Presented by Richard Buckland

Beginner. No background in the topic needed.

541K views18 years ago1 recommendation

Systems programmingComputer scienceCMemory managementData structures

Richard Buckland reviews pointers, indirect addressing, pass-by-reference versus pass-by-value, and passing arrays in C.

(*but were afraid to ask) Review of pointers and indirect addressing. pass by reference/pass by value. Passing arrays into functions. 3 neat things you can do with pointers: 1. pass by ref 2. dynamic data structures (to come) 3. ADTs in c (to come) the exponential growth of doubling revisited. magic trick where you are offered a choice - VS the importance of a good spec. Starting to design a suduko solver. Mars bars from Hong Kong.

Why it's here

1 person recommends this

What people say. Highly recommended for beginners as a fantastic and clear lecture for understanding pointers in C.

Moments people linked to

u/gothamtoadin r/C_Programming • Recommends

For anyone who's new to C programming and needs to understand pointers better, this lecture is fantastic

u/minamulhaqin r/embedded • Mentions

What does a VARIABLE mean? Value at memory location or Address of memory location? I was watching a video on Pointers Everything you need to know about Pointers - Richard Buckland and it kind of made me thing about variables again. ***We've been told that variables hold the memory address right?*** consider the following: int y; int x = 5; Let's suppose the memory address of variable x we're talking about is `0x100`. We know that `&` is reference operator and gives the address of variable and `*` is the deference operator. Now what we've learned is that `*0x100` should produce the value `5`. In other words to get the value stored at memory location 0x100, we do something…
7View on Reddit

u/CorrectMyBadGrammarin r/C_Programming • Mentions

On “Pointers”

I recommend this tutorial. Richard Buckland explains it very well too.

u/Ulringin r/C_Programming • Mentions

On “Anyone got a link or a vide that make you understand how pointer work?”

I watched a lot of videos,but this one is the only one that helped me finaly understand the basics: link to this video In my opinion,no video or articles will help you fully grasp pointers.You need to do a loooot of exercices. Wish you good luck!

u/gutkneislin r/C_Programming • Mentions

Questions about the video on pointers which is the #8 top post in this sub, find it to be rather confusing While learning C a took a look at the top posts of /r/C_Programming and watched this video, Everything u need 2 know about pointers I have two questions after watching it. First he draws a table which is supposed to represent memory addresses an values stored in this addresses. Adress | Value ------|----- 0 | 1 1 | 2 2 | 4 3 | 8 4 | 11 5 | 10 6 | 3 7 | 5 8 | 10 9 | 8 10 | 2 11 | 6 12 | 1 13 | 0 14 | 0 15 | 5 He then declares and initializes an integer variable int x = 2 and says that's what we find at address 10. He goes on and asks what printf("%d", *x); would refer…

u/mnrntjcin r/C_Programming • Mentions

On “Need Help in Pointer”

Ok. Stepping back from the code you've provided, it sounds like you are having trouble understanding exactly what a pointer 'is'. Everyone who learns C does intially, and the syntax for pointers doesn't aid this IMHO. I think this lecture gives a really good overview, and might help your understanding. Next. In the code you've provided, you are treating x and y like pointers to Node structs (which is great), but you need to make sure that is what they actually are.

u/ml01in r/C_Programming • Mentions

On “C Programmers on Youtube”

I don't know of any channel that does advanced C and even talks are very hard to find. Off the top of my head I remember watching and appreciating these: - 21:Everything u need 2 know about pointers -Richard Buckland when I was learning pointers, not that advanced - Standford CS107 already mentioned here, great series of lectures - Advanced C Coding For Fun! networking stuff by Rusty Russell, that guy is really funny - How I program C by Eskil Steenberg. This guy does graphics and game related things and it seems he really knows his stuff

u/knotdjbin r/C_Programming • Mentions

On “Can anyone explain pointers to me like I’m 5?”

This explanation resembles the way it is taught by Richard Buckland in this video.