记得大一刚学C的时候,老师就直接来了个代码: #include<stdio.h> main () { printf("hello world!"); } 今天才知道原来 main前面少了个int ,main前没的话就是默认为int.