函数调用R-1-7-7强制
禁止非 void 函数省略 return 语句
非 void 函数省略返回语句
test.c
1int foo(int x)2{3 if (x == 0)4 {5 return 0;6 }7 else8 {9 }禁止非 void 函数省略 return 语句 [gjb8114-r-1-7-7]10}
非 void 函数有完备的返回语句
test.c
1int fun(int x)2{3 if (x == 0)4 {5 return 0;6 }7 else8 {9 return 1;10 }11}