Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!lll-crg!ames!amdahl!meccts!ems!mark From: mark@ems.UUCP (Mark H. Colburn) Newsgroups: comp.lang.c Subject: Re: Conversions/casts one more time Message-ID: <91@ems.UUCP> Date: Sun, 14-Dec-86 03:33:54 EST Article-I.D.: ems.91 Posted: Sun Dec 14 03:33:54 1986 Date-Received: Tue, 16-Dec-86 02:12:47 EST References: <176@unisoft.UUCP> <820@mtund.UUCP> <179@unisoft.UUCP> Reply-To: mark@ems.UUCP (Mark H. Colburn) Organization: EMS/McGraw-Hill, Eden Pairie, MN Lines: 20 >Adam Reed (mtund!adam) writes: > >Golly! Guess they've changed the language on me again. Last I heard, >char variables were converted to int whan passed as parameters. I thought that K&R stated that type coersions did not occur when values were passed as parameters to a function. If the compiler did do the coersion then it would have to keep track of the type of parameter that is exepected to be passed to the function, even though it may be in a different file, etc. You start talking about PASCAL... Anyways, I cannot refer to the specific page in K&R, somebody has snatched my copy. -- Mark H. Colburn UUCP: ihnp4!meccts!ems!mark EMS/McGraw-Hill ATT: (612) 829-8200 9855 West 78th Street Eden Prairie, MN 55344