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.
-Here 'p' is the pointer variable which point the variable 'a'.
How get variable value by pointer ?
-Integer pointer only points the integer variable.
-String pointer only points the string variable.
-Pointer of one type is only hold the address of similar type variable.
Double pointer is only points to single pointer.
Similarly, triple pointer only points the double pointer.
We generally make a pointer upto third level.