首先,需要明确main函数是什么? 答:main函数是C语言约定的入口函数 C99标准里面是这样描述的: Program startup The function called at program startup is named main.The implementation declares no prototype for this function. It shall be defined with a return type of int and with no parameters:…