Compiling precedes Linking so a file can be compiled, even if it can't be linked into an application. If your source file includes a header file with prototypes of functions that you call, then you can compile your file.
Function prototypes are one line stubs. Instead of the function block with code inside curly braces {}, it ends with a semi-colon.
Example
Taking the getpercent() function in example ex6_2 on the previous page, the prototype looks like this.double getpercent(double a, double b ) ;Prototypes enable the compiler to check the number and types of parameters before generating code. Before prototypes were introduced in ANSI C, earlier C compilers weren't strict about checking. As a programmer, you expect the compiler to spot silly mistakes like that, not generate faulty code!
No Parameter Functions
If your function has no parameters, use the keyword void to specify this. The function InitializeData() has no parameters.int InitializeData( void ) ;Note : InitializeData() returns an int but EndGame("Message") doesn't.
void EndGame( char * Message) ;
On the next page Learn about variadic functions.

