Xref: utzoo comp.lang.c:9663 comp.sys.ibm.pc:14888 Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!pacbell!att-ih!ihnp4!ihlpg!tainter From: tainter@ihlpg.ATT.COM (Tainter) Newsgroups: comp.lang.c,comp.sys.ibm.pc Subject: Re: cdecl keyword Message-ID: <5258@ihlpg.ATT.COM> Date: 26 Apr 88 05:48:54 GMT References: <1238@wjvax.UUCP> <297@ho7cad.ATT.COM> <1242@wjvax.UUCP> <50731@sun.uucp> Organization: AT&T Bell Laboratories - Naperville, Illinois Lines: 17 In article <50731@sun.uucp>, limes@sun.uucp (Greg Limes) writes: > In article <4737@cup.portal.com> Glenn_A_Story@cup.portal.com writes: >> Wait a minute! What's the difference between "the address of 'x' passed >> by value" and "'x' passed by reference"? > In the first [address of X], the caller is expecting an address, and is free > to muck about with the formal parameter holding it. This is the answer to his question. This gives the former a pure super set of the capabilities provided by the latter. Of course, the syntax to use these two parameter types equivalently is different as well. The rest of Greg Limes response was tangential and simply a discussion of what makes the two types similar. > Greg Limes [limes@sun.com] --j.a.tainter