Computer Science, asked by tauseefmahar7, 11 months ago

what is pointer in c++?
or
how to use pointer in programing?

Answers

Answered by dolldeepti6
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 Anonymous
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