沒有RETURN的 int函數(shù)返回值是什么?
#include<stdio.h>
int testreturn()
{
}
int main()
{
int return1 = testreturn();
printf("test of return,%d\n",return1);
return 0;
}
在這里的結(jié)果:
test of return,0
在LINUX上的結(jié)果:
test of return,4195644
沒有RETURN的 int函數(shù)返回值是什么?
2015-07-05