Mask-group

The main() function



  • main() is a collective name given to a set of statements.

  • All the statements that belong to the main function are enclosed within a pair of braces{ }. 

main(){

statement 1;

statement 2;

statement n;

}