+ 2
Please i want to understand pointers concept more clearly.
I learnt that the reference operator (*) and the pointer are different.
3 Respuestas
+ 4
Hiiiiii, let see it ,
int *p;
int a=5;
*p=&a;
Here we assigned address of
a to the pointer p , then it
points on value of a (var)
and stores address of a(var).
Since the pointer have address it takes less time to execute, then let's see how value are changed
Let
*p=10 ,
Then as it points on a then the value of also becomes 10
a=10
.........
If you have specific questions regarding this please ask ..........
0
To understand pointers more clearly, you need to learn about the structure of a program. I.e. stacks and heaps.