Skip to content
0:00 / 0:00

#pointers#cprogramming#memoryvisualization

C pointer basics (Kevin Lynch)

Northwestern Robotics

48K subscribers • 1 video on Hallway

YouTube
  • Recommended by 2 people: 2 in engineering communities.
  • A classic. People kept recommending it from 2018 to 2024.
  • Presented by Kevin Lynch

Beginner. No background in the topic needed.

58K views10 years ago2 recommendations

Programming languagesSystems programmingCMemory management

Kevin Lynch explains the basics of C pointers and memory addresses using visual diagrams.

For more information, see nu32.org. This video is a supplement to the book "Embedded Computing and Mechatronics with the PIC32 Microcontroller," Lynch, Marchuk, and Elwin. It is part of Northwestern University's ME 333 Introduction to Mechatronics. L-comp: Given the code int i, *ip; ip = &i; give one more line of code that sets i equal to 50 without using the variable i.

Why it's here

2 people recommend this

What people say. Recommended for its clear visual illustrations of how pointers map to memory addresses.

u/audiomattin r/C_Programming • Recommends

On “Recommendation for best pointer guide”

I like the explanations where they illustrate the memory like this: link to this video I don't have a favorite but I think about memory like that when I use pointers.

u/77tezerin r/C_Programming • Recommends

On “I can't understand the last two printf statements”

I wouldn't even know how to do that. I'm just an old man that comes back every couple of years to see if this ever clicks. I'm no programmer. The only thing with pointers I've understood is this: link to this video I can't go from that to get what's happening with argv. Don't worry, I'll go away soon enough. Thanks for your help though.