3 回答
TA贡献2016条经验 获得超9个赞
TA贡献1862条经验 获得超7个赞
int.
int main() {
int i = foo(5);
/* No declaration for `foo`, no prototype for `foo`.
Will work in C89/90. Assumes `int foo(int)` */
return 0;}int foo(int i) {
return i;}int
foo
int foo(); /* Declares `foo`, but still no prototype */int main() {
int i = foo(5);
/* No prototype for `foo`, although return type is known.
Will work in C99. Assumes `int foo(int)` */
return 0;}...另一份说明:printf
- 3 回答
- 0 关注
- 1400 浏览
添加回答
举报
