(ANSI) C Reference – Program Structure and Functions

A look at program structure and functions in C programming language.


type name ->  External variable declarations


main() ->  Main routine
{

declarations

statements

}


main(int argc, char *argv[]) ->  Main with args


type function_name(type1,…) ->  Function declarations


type function_name(arg1,…) ->  Function definition

{

declarations ->  Local variable declarations

statements

return value;

}


This entry was posted in Program Structure and Functions. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site. Tweet This! Tweet This! or use to share this post with others.

Leave a Reply: