argc[argv]

buck%nrl-css at sri-unix.UUCP buck%nrl-css at sri-unix.UUCP
Fri Dec 9 12:34:59 AEST 1983


From:  Joe Buck <buck at nrl-css>


As was pointed out, argc[argv] is the same as argv[argc], since the
compiler translates it into *(argc+argv). The latter expression is
clearer, obviously; it's just a pointer to the last argument on the
command line, which seems like a useful construct.



More information about the Comp.unix mailing list