What are pointers | Sololearn: Learn to code for FREE!


What are pointers



7/12/2018 3:27:37 PM

manas pandey

6 Answers

New Answer


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


A pointer is a variable that references the memory location of another variable


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.


pointer is reference to any address specifiy in the memory


Thanks @manas pandey that was really helpful


Basically a pointer is variable that stores the address of another variable.