<<< The address-of operator     Index     The C programming language, cont. >>>

24. Pointer is a data type


  • 
        double price = 1.52;
        double * location = &price;
        *location = 3.67;
        price = *location;
    
    
  • Dereference operator *location "unlocks" the memory cell:

      pointer dereference


<<< The address-of operator     Index     The C programming language, cont. >>>