Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!iuvax!bobmon From: bobmon@iuvax.cs.indiana.edu (RAMontante) Newsgroups: comp.lang.c Subject: Re: passing *char parameters by reference Message-ID: <24555@iuvax.cs.indiana.edu> Date: 13 Aug 89 21:13:11 GMT References: <1424@novavax.UUCP> <660050@hpclwjm.HP.COM> <14280@haddock.ima.isc.com> Reply-To: bobmon@iuvax.cs.indiana.edu (RAMontante) Organization: malkaryotic Lines: 11 A minor comment... Among all the responses to this swap question, I think I saw _one_ that suggested getting rid of the ampersands and passing in the array pointers (instead of the addresses of the array pointers). All the others leap right in and rewrite the swap routine to accept the addresses of the pointers, at the expense of working through an additional, unneeded level of indirection. Do people have some objection to quick and straightforward fixes, or am I missing something?