where do you put prototype declarations?

Pete Holsberg pjh at mccc.UUCP
Fri Jan 27 12:00:42 AEST 1989


In K&R 2nd, they put function prototype declarations before main() in
programs on pages 24 and 119 (and probably others as well), but "in the
usual place" -- with the declarations of identifiers -- in the program
on page 72 (and probably others).

Does it make a significant difference?  If so, what is it?  Thanks.


-- 
Pete Holsberg                   UUCP: {...!rutgers!}princeton!mccc!pjh
Mercer College			CompuServe: 70240,334
1200 Old Trenton Road           GEnie: PJHOLSBERG
Trenton, NJ 08690               Voice: 1-609-586-4800



More information about the Comp.lang.c mailing list