A pointer is a variable that stores the address of another variable, i.e., direct address of the memory location of another variable. To store the address of any variable in the memory, you can use a pointer to before using it to store any variable address. Here is the syntax to declare a pointer variable:
type *var-name;
Example:
int *ip; /* pointer to an integer */
double *dp; /* pointer to a double */
float *fp; /* pointer to a float */
char *ch /* pointer to a character */
If you want to learn C programming, then check out this C Language Course by Intellipaat.
Also, watch this YouTube tutorial on C programming: