what is pointer in c++?
or
how to use pointer in programing?
Answers
Answered by
1
Answer:
Pointers in C language is a variable that stores/points the address of another variable. A Pointer in C is used to allocate memory dynamically i.e. at run time. The pointer variable might be belonging to any of the data type such as int, float, char, double, short etc.
Explanation:
Answered by
0
pointer is a variable which hold address of another variable.
The first variable is said to be pointing the second variable.
Example:-
int a;
int *p=&a;
Similar questions