Variable Representation in memory

A pointer is a variable which contains the memory location of another variable. You start by specifying the type of data stored in the location identified by the pointer. The asterisk tells the compiler that you are creating a pointer variable. Then give the name of the variable.

type * variable name

int *ptr;
float *string;