More on pointers/arrays: Function Arguments

Dave Brownell brownell at harvard.UUCP
Fri Apr 13 17:46:40 AEST 1984


----

More succinctly than I said it before,

    Whatever happened to "An array is an array is an array?"

Seeing an array incremented was a rude shock.  I know (now)
that it *SHOULD* be legal, but I've seen so many beginning
C programmers confused by pointers and arrays that the
example in the text I saw still offends me.

I'll continue to use '&array[0]' to get pointers to arrays ...


	Dave Brownell
	{genrad|allegra|ihnp4|ima|amd70}!wjh12!sequoia!brownell



More information about the Comp.lang.c mailing list