C Programming: Pointers
Introduction A pointer is a variable whose value is the address of another variable. Hence we think of them as pointing to another variable. Knowing the specific address of a variable is typically not what we are interested in. Instead, we can use the pointer to access the value of the variable whose address is stored in the pointer variable. Pointer variables have their own type, which should match the type of variable that they point to. For example, a…