Mail Archives: djgpp/1996/11/16/03:22:57
George Foot wrote:
> You can
> consider any pointer to be an array . . .
Be careful with statements like this; it is not strictly true, and will
actually get you in trouble in some cases. Arrays and pointers are similar
in that you can apply the subscription operator [] an array or a pointer and
they will behave similarly, provided the pointer is pointing to the first
element of the array. There are difference between the two other than that,
though.
--
Erik Max Francis | max AT alcyone DOT com
Alcyone Systems | http://www.alcyone.com/max/
San Jose, California | 37 20 07 N 121 53 38 W
&tSftDotIotE | R^4: the 4th R is respect
"But since when can wounded eyes see | If we weren't who we were"
- Raw text -