KwickClips C++ · 41 sec · free
What does &marks give?
Short answer. The address of marks.
What does a pointer store?
An address.
Memory boxes
| Name | Address | Value |
|---|---|---|
| marks | 1000 | 85 |
| p | 2000 | 1000 |
Remember
| &marks gives its address |
| A pointer stores it |
Every variable has a home address. Where is it? Picture memory as boxes. Marks lives at one thousand and holds eighty five. Pointer p holds one thousand, the address of marks. Remember. Ampersand gives the address. A pointer stores it.
This clip is from the full lesson: Pointers in C — 7 minutes, with the tables, the quick answers and the whole lesson in text.
Useful for: Programming All levels C, Programming All levels C, Programming All levels C, Programming All levels C
More KwickClips from this lesson
What does int *p declare?42 sec
How far does p + 1 jump for an int?43 sec
What is a[i] the same as?44 secVoice-over is AI-generated; the script is written and checked by Kajal Ma'am. Confirm anything you plan around against your official board document. We never ask for a password or an OTP.

