+ 6
What are pointers
c++
5 ответов
+ 3
manas pandey .
A pointer is a variable, that stores the memory location of another variable.
example
=======
int age = 17;
int *agePointer = &age;
cout << agePointer ;
Output
=======
0x24ff8
something like that
+ 3
Hello, manas pandey !
This question has a duplicate, since another user already asked this question
Please, before posting a question, use the search to prevent duplicate.
Good luck!
https://www.sololearn.com/Discuss/1373145/?ref=app.
+ 3
pointer is reference to any address specifiy in the memory
+ 1
Thanks @manas pandey that was really helpful
0
Basically a pointer is variable that stores the address of another variable.