26 lines
357 B
C
26 lines
357 B
C
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <time.h>
|
|
#include <math.h>
|
|
#include <stdbool.h>
|
|
|
|
/*
|
|
void main(void);明确函数无返回值,即()内为空,没有参数
|
|
void main();明确函数无返回值,但()内可以有参数
|
|
*/
|
|
|
|
/*
|
|
C语言不允许函数的嵌套定义
|
|
*/
|
|
|
|
/*
|
|
int main(void)是一个函数,所以会有return 0;作为函数的返回值
|
|
*/
|
|
|
|
int main()
|
|
{
|
|
|
|
|
|
return 0;
|
|
}
|