Xref: utzoo comp.lang.c:9571 comp.sys.ibm.pc:14796 Path: utzoo!mnetor!uunet!portal!cup.portal.com!Glenn_A_Story From: Glenn_A_Story@cup.portal.com Newsgroups: comp.lang.c,comp.sys.ibm.pc Subject: Re: cdecl keyword Message-ID: <4737@cup.portal.com> Date: 23 Apr 88 15:05:26 GMT References: <1238@wjvax.UUCP> <297@ho7cad.ATT.COM> <1242@wjvax.UUCP> <3867@super.upenn.edu> <185@premise.ZONE1.COM> <1443@bigtex.uucp> Organization: The Portal System (TM) Lines: 17 XPortal-User-Id: 1.1001.1401 >IN article <185@premise.ZONE1.COM>, chang@premise.ZONE1.COM (John Chang) wrote >> > [...] C uses pass-by-value for everything. >> ^^^^^^^^^^ What about arrays? >In C, arrays are _never_ passed to functions. Only the addresses of arrays. >These are passed by value only. Wait a minute! What's the difference between "the address of 'x' passed by value" and "'x' passed by reference"? I've always considered C's passing of addresses as a form of call by reference, especially in the case of arrays where you don't even explicity specify "address of" (&). Regards, Glenn