int hanshu(){int i;}int main(){printf("%d", hanshu());}
不同的编译器不同,会返回eax寄存器的值。这里这个程序在gcc上测试,结果是0。
不写return 编译不通过,VS