Prototypes

John Gordon gordon at osiris.cso.uiuc.edu
Wed Jul 11 06:56:42 AEST 1990


	The purpose of a prototype is to explicitly declare what type the 
function returns (if any) and what types the function takes as args (if
any).  This makes it easier to detect errors involving incorrect returns
and arg passing to and from functions.


---
John Gordon
Internet: gordon at osiris.cso.uiuc.edu        #include <disclaimer.h>
          gordon at cerl.cecer.army.mil       #include <clever_saying.h>
GEnie:    j.gordon14                  



More information about the Comp.lang.c mailing list