0

What is a pointer in c++

what is a pointer because I couldn't understand

4th Jun 2018, 11:36 PM
Loai Salem
Loai Salem - avatar
5 Respuestas
+ 1
https://www.sololearn.com/learn/1416/?ref=app This is a pretty sttaightforward one in C
4th Jun 2018, 11:52 PM
Fabio Rocha
Fabio Rocha - avatar
+ 2
Pointer is a special type of variable which holds the memory address of another variable .. The " Address " is the location of the variable in the memory , ex - int *point=&a
5th Jun 2018, 9:30 AM
Aveek Bhattacharyya
Aveek Bhattacharyya - avatar
+ 1
A pointer points to the memory allocation of a variable. I know it can be confusing. It took me a while to understand too. I recommend keep doing exercises with pointers and it will start clicking
4th Jun 2018, 11:49 PM
Fabio Rocha
Fabio Rocha - avatar
+ 1
can u give me some examples
4th Jun 2018, 11:50 PM
Loai Salem
Loai Salem - avatar
5th Jun 2018, 5:08 AM
Paul Grasser
Paul Grasser - avatar