A pointer is the address of an object in the memory space. The prefix
operator &
gets the address of an object. For example,
iptr = & int_variable; cptr = & s[5]; /* if s is a string, cptr points to the 5th char of s */
The prefix operator *
refers to the
object which the pointer is pointing to. For example,
i = * iptr ; /* i = int_variable; */ c = * cptr ; /* c = s[5]; */
There are no pointer constants, and no pointer operations except the pointer equality checks.