O'Reilly logo
  • Imran Shaikh thinks this is interesting:

  • Array variables can be used as pointers...

  • ...but array variables are not quite the same.

  • sizeof is different for array and pointer variables.

  • Array variables can’t point to anything else.

  • Passing an array variable to a pointer decays it.

  • Arrays start at zero because of pointer arithmetic.

  • Pointer variables have types so they can adjust pointer arithmetic.

  • From

    Cover of Head First C


    Array variables as pointer variables