We can get the memory address of a variable by using the & (reference) operator. A pointer however, is a variable that stores the memory address as its value.
A pointer variable points to a data type (like int or string) of the same type, and is created with the * operator. The address of the variable you're working with is assigned to the pointer.
We can use the pointer variable to get the memory address of a variable (used together with the & reference operator). However, you can also use the pointer to get the value of the variable, by using the * operator (the dereference operator)
SUBSCRIBE OUR CHANNEL: / comfe
LIKE OUR FB PAGE: / comfecure
FOLLOW ON INSTAGRAM: / comfecure