Main function
From cppreference.com
A program shall contain a global function called main
, which is the designated start of the program.
int main () { Template:sparam }
|
(1) | ||||||||
int main ( int Template:sparam, char *Template:sparam[]) { Template:sparam }
|
(2) | ||||||||
Explanation
argc | - | the number of arguments passed to the program from the environment in which the program is run. |