.........如果这个function 是
void ****() {
}
是不是只要在中间写一个 "return;" 就可以了?
虽然main function 也是 void main()
但是为什么在main 里可以写 return 0;
而在一般的function 写 return 0; compile 会出错呢?
hoho, simple :) =>
By default, main function is not void main(), but int main();
therefore, we should use "return 0".
In user defined functions, return type should match the type of
function prototype. In your function void ****(), we should
return void instead of return 0. Thus there will be no
compiling error.
^_^, Good good study, day day up!!!!!!!!!!!!!