Address and Pointers : Address and Pointers « Pointer « C Tutorial






Address

  1. Each variable has two attributes: address and value.
  2. The address is the location in memory.
  3. In that locaton, the value is stored.
  4. During the lifetime of the variable, the address is not changed but the value may change.

Pointers

  1. A pointer is a variable whose value is an address.
  2. A pointer to an integer is a variable that can store the address of that integer.
10.2.Address and Pointers
10.2.1.Address and Pointers
10.2.2.Using Pointers
10.2.3.Print addresses using place holders %16lu or %p.