Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!sunybcs!bingvaxu!leah!uwmcsd1!bbn!husc6!cmcl2!brl-adm!brl-smoke!gwyn From: gwyn@brl-smoke.UUCP Newsgroups: comp.unix.wizards Subject: Re: have I found a bug in K&R? Message-ID: <6496@brl-smoke.ARPA> Date: Wed, 30-Sep-87 17:01:50 EDT Article-I.D.: brl-smok.6496 Posted: Wed Sep 30 17:01:50 1987 Date-Received: Sat, 3-Oct-87 00:41:40 EDT References: <517@hubcap.UUCP> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 11 Keywords: argv definition In article <517@hubcap.UUCP> hubcap@hubcap.UUCP (Mike S Marshall) writes: >... (which is defined as char *argv[]) ... Actually, due to a funny quirk in C, all correct declarations of the second formal parameter to main() are equivalent to char **argv; Whether you want to consider this as char *argv[]; or char (*argv)[]; doesn't really matter.