A pointer is a special variable meant just to store the address of any other variable or function. Pointer variables unlike ordinary variables cannot be operated with all the arithmetic operations. It follows a special arithmetic called as pointer arithmetic.
int *ap; //pointer declaration
ap=&a; // assigning the address of a to ap