The difference between Dereference and Pointer


Dereference is also verb with the meaning: to access the value or object located in a memory location stored in a pointer or another value interpreted as such.

Pointer is also noun with the meaning: anything that points or is used for pointing.

check bellow for the other definitions of Dereference and Pointer

  1. Dereference as a verb (programming):

    To access the value or object located in a memory location stored in a pointer or another value interpreted as such; to access a value being referenced by something else.

    Examples:

    "usex Attempting to dereference a null pointer often results in a crash."

  1. Pointer as a noun:

    Anything that points or is used for pointing.

  2. Pointer as a noun:

    A teacher's pointer, pointing stick, a rod with an arrow

  3. Pointer as a noun:

    A needle-like component of a timepiece or measuring device that indicates the time or the current reading of the device.

  4. Pointer as a noun:

    A breed of hunting dog, trained to point out game.

  5. Pointer as a noun (programming):

    A variable that holds the address of a memory location where a value can be stored.

  6. Pointer as a noun (computing):

    An icon that indicates the position of the mouse; a cursor.

  7. Pointer as a noun (mostly, plural):

    A tip, a bit of advice.

    Examples:

    "The instructor gave me some pointers on writing a good paper."

  8. Pointer as a noun (in combinations):

    Something worth a given number of points.

    Examples:

    "a ten-pointer"