C++ COURSE

C++ Pointers

Learn C++ programming with EDUHUB Code Hub.

C++ Pointers

Pointers store the memory address of another variable.



int number = 50;


int *ptr = &number;


cout << ptr;


Pointer Symbols

Symbol Meaning
& Address of variable
* Value stored at address