Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!panda!talcott!harvard!seismo!brl-tgr!tgr!gwyn@BRL.ARPA From: gwyn@BRL.ARPA (VLD/VMB) Newsgroups: net.lang.c Subject: Re: C portability gotcha, example Message-ID: <2744@brl-tgr.ARPA> Date: Sat, 2-Nov-85 17:57:19 EST Article-I.D.: brl-tgr.2744 Posted: Sat Nov 2 17:57:19 1985 Date-Received: Mon, 4-Nov-85 01:46:36 EST Sender: news@brl-tgr.ARPA Lines: 14 I asked that answers to the puzzle please NOT be posted to the mailing list / newsgroup, to avoid flooding it with zillions of messages (mostly wrong). There is no problem with passing a double datum as a parameter to a routine that is declared with smaller formal parameters. Just consider what must be happening for printf() and you will see that any number of parameters of any size may be passed to a function. Therefore, the solution to the puzzle is not that the double datum "doesn't fit" or "clobbers something outside the parameters". I suppose I should post the answer in a few days..