Wednesday, September 30, 2009

Format of main () function

The arguments that a function expects are specified in a parenthesized parameter list following the function name. The keyword void enclosed with the parenthesis indicates that no “parameters” or “arguments” are expected by this routine. An opening brace {following main function and its parameter list marks the beginning of the function body and, similarly, the end of the function body is indicated by a closing brace} at the end.

0 comments:

Post a Comment