/********************************************************* * From C PROGRAMMING: A MODERN APPROACH, 1st Edition * * By K. N. King * * Section 9.1, pages 158-159. * *********************************************************/ #include /* The following function does not return any value and has no parameters. For this reason it has type "void" and void argument. Consider "void" as a placehodler that means "nothing goes here". Parentheses are mandatory. */ void printing_pun( void ) { printf("\n To C or not to C: that is the question.\n\n"); } int main( void ) { /* This example demonstrated calling a function without an argument. Note that we MUST write parentheses even if function has no arguments. */ printing_pun(); return( 0 ); }