Main function

Main function

Every C program coded to run in a hosted execution environment contains the definition (not the prototype) of a function called main, which is the designated start of the program.

int main (void) { body } (1)
int main (int argc, char *argv[]) { body } (2)
int main (int argc,登录查看完整内容