Saturday 15 August 2009

main.c



Every c program starts with a main function and end with null statement. Properties of main function: 1. Any c program can have only one main function. 2. main function is called by operating system. 3. main is not keyword of c. So any variable name can be main. 4. Programmer can also call the main function. 5. Default return type of main function is int and default parameter is void.

No comments:

Post a Comment