Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!security!genrad!mit-eddie!mit-vax!eagle!harpo!seismo!hao!hplabs!sri-unix!Lepreau@UTAH-20.ARPA From: Lepreau@UTAH-20.ARPA Newsgroups: net.unix Subject: Re: argc[argv] Message-ID: <14740@sri-arpa.UUCP> Date: Mon, 19-Dec-83 03:40:43 EST Article-I.D.: sri-arpa.14740 Posted: Mon Dec 19 03:40:43 1983 Date-Received: Thu, 22-Dec-83 00:24:56 EST Lines: 7 From: Jay Lepreau Nope, a[b] == *(a+b) for all arrays, not just char arrays, at least in "modern" (since v7 at least) C compilers, which know the size of *a already and use it in "scaling b". They don't just add plain "b" to it. Explicitly including sizeof would lose cause it would then be done twice. -------