Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!seismo!mcvax!ukc!eagle!icdoc!cam-cl!am From: am@cam-cl.UUCP Newsgroups: comp.lang.c Subject: Re: weird c code/ c test Message-ID: <1044@jenny.cl.cam.ac.uk> Date: Fri, 14-Aug-87 07:53:11 EDT Article-I.D.: jenny.1044 Posted: Fri Aug 14 07:53:11 1987 Date-Received: Sun, 16-Aug-87 18:41:20 EDT References: <1089@gilsys.UUCP> <5192@utcsri.UUCP> <6243@brl-smoke.ARPA> Reply-To: am@cl.cam.ac.uk (Alan Mycroft) Organization: U of Cambridge Comp Lab, UK Lines: 10 In article <6243@brl-smoke.ARPA> gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) writes: >>>#include >>Huh? Not used in the program below. > >Sure it is -- printf() is used. Although it is not REQUIRED that > be included to use printf(), it may very well be beneficial >to do so. The contradicts ANSI draft: printf has a varargs prototype and therefore must be given a prototype with ... not int printf() assumed.