argc[argv] and Berknet - (nf)

jab at uokvax.UUCP jab at uokvax.UUCP
Thu Dec 15 14:48:56 AEST 1983


#R:sri-arpa:-1443800:uokvax:6100002:000:451
uokvax!jab    Dec 13 12:26:00 1983

In reference to the "argc[argv]" question/exercise:

I just tried it with the Berkeley compiler (yet another PCC, so I'll
make the [possibly invalid] assumption that other PCCs do this) and
it does work.

Given the correspondence "e1[e2] = *(e1 + e2) = *(e2 + e1) = e2[e1]" 
makes sense, in a way. I still think that it's awfully scruffy, but
in C, a lot of programs are written making use of such [little-known]
facts.

Ugg.

	Jeff Bowles
	Lisle, IL



More information about the Comp.unix mailing list