Path: utzoo!attcan!uunet!ncrlnk!ncr-sd!se-sd!rns From: rns@se-sd.sandiego.ncr.com (Rick Schubert) Newsgroups: comp.lang.c Subject: Re: programming challenge (silly) Message-ID: <1859@se-sd.sandiego.ncr.com> Date: 20 Mar 89 20:06:04 GMT References: <37433@think.UUCP> <4412@ingr.com> Reply-To: rns@se-sd.sandiego.NCR.COM (Rick Schubert(AEP)) Organization: NCR Corp. Systems Engineering, San Diego Lines: 16 In article limes@wseng.sun.com (Greg Limes) writes: >In article <4412@ingr.com> crossgl@ingr.com (Gordon Cross) writes: > The example above fails to yield the correct answer if invoked > with arguments on the command line whereas the original program did... >Perhaps it is time to ask, since c415-23@alberta did not specify. > *** Can we assume no parameters? *** Please note that the first argument to `main' may have the value 0 ! (That's the integer 0, not 0 factorial). A value of 0 indicates that the program name is not available. This is allowed by the soon-to-be ANSI Standard. -- Rick Schubert (rns@se-sd.sandiego.NCR.COM)