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

+6

What are pointers

c++

c++

7/12/2018 3:27:37 PM

manas pandey

6 Answers

New Answer

+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

+10

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

+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.