pointer in c language

Pointers are power of c. If you have good command on pointers then you will fill pointer is my best friend. Difference with other variables than pointer is, it holds memory address of any other variables instead of holding any value unlike other variables. For example in the following two c statements:

int i=10;
int *p=&i;

Variable i stores value 10 while pointer p stores address of variable p.
For pictorial explanation of pointer CLICK ME.

No comments: