Mega Code Archive

 
Categories / C Tutorial / Pointer
 

Address and Pointers

Address Each variable has two attributes: address and value. The address is the location in memory. In that locaton, the value is stored. During the lifetime of the variable, the address is not changed but the value may change. Pointers A pointer is a variable whose value is an address. A pointer to an integer is a variable that can store the address of that integer.