Lurker News
Back to discussion

Comment by JoeAltmaier

JoeAltmaier1 reply#
Sure you can. int aFoo[]; has many legal array operations possible:

  *(aFoo+3) should work fine and return the 4th int in the array.
pvarangot1 reply#
I think your star operator there is making the compiler cast your array to pointer implicitly.
JoeAltmaier#
Its all symbols, so you can say whatever. But if it looks like a pointer, walks like a pointer, and quacks like a pointer, Its A Pointer.