(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. Both comments and pings are currently closed. Tweet This! Tweet This! or use to share this post with others.

Comments are closed.