Article View: comp.lang.misc
Article #4546Re: Check the Arg Count
From: sierchio
Date: Tue, 30 Dec 1986 21:55
Date: Tue, 30 Dec 1986 21:55
32 lines
1360 bytes
1360 bytes
Hey, fella. Bullshit doesn't add weight to your argument. for your info, printf() and scanf() may not even be functions. They are frequently implemented as macros, and are part of stdio. NOW -- frequently compilers don't do arg count checking. What this means is that at execution time, when a fn is called with an arg list, as in: foo(a, b, c) a, b, and c are pushed onto the Frame, or Stack, or Heap (as you like). if foo() is defined as: foo(a,b) int a, b; then it will only reference a and b. However, c is there, and it's available as *((&b)++). (well, probably) It still ain't LISP, fella. -- Michael Sierchio @ MCC Software Technology Program UUCP: ut-sally!im4u!milano!sierchio ARPA: sierchio@mcc.ARPA THE OPINIONS EXPRESSED AREN'T NECESSARILY.
Technical Details
Message-ID:
<3208@milano.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!seismo!ut-sally!im4u!milano!sierchioReferences:
<3395@amd.UUCP> <4886@mimsy.UUCP> <3101@diamond.Diamond.BBN.COM>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!ut-sally!im4u!milano!sierchio From: sierchio@milano.UUCP Newsgroups: comp.lang.misc Subject: Re: Check the Arg Count Message-ID: <3208@milano.UUCP> Date: Tue, 30-Dec-86 16:55:51 EST Article-I.D.: milano.3208 Posted: Tue Dec 30 16:55:51 1986 Date-Received: Tue, 30-Dec-86 21:51:06 EST References: <3395@amd.UUCP> <4886@mimsy.UUCP> <3101@diamond.Diamond.BBN.COM> Sender: sierchio@milano.UUCP Organization: MCC, Austin, TX Lines: 32 Summary: Your notions of C