In C a pointer is a variable that points to or references a memory location in which data is stored. By usimg the pointer we change the content of the memory location.
A pointer is a variable that contains the memory location of another variable. The asterisk tells the compiler that you are creating a pointer variable. Finally we have to give the name of the variable.
// Syntax type * variable name; // e.g. int *ptr; float *string