memory address

When a variable is created, it is assigned a memory address

int myAge = 43;
printf("%p", &myAge);
// Output: 0x7ffe5367e044

To access it, use the reference operator (&)

Comments