C Programming Tutorial
Computer Tutorial



A pointer is a variable that holds a memory address of an other variables. This address is the location of another object (typically another variable) in memory. For example, if one variable contains the address of another variable, the first variable is said to point to the second.

The general form of pointer is :
variable type      *name of pointer ;
int *p;
float *dec;
char *name;

Diagram to show Variable Stodred in Memory

Variable Stodred in Memory