討論串[問題] 沒有return
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓6(6推 0噓 26→)留言32則,0人參與, 最新作者DEATHX (幽光)時間15年前 (2010/10/20 02:18), 編輯資訊
0
0
0
內容預覽:
是的,gcc可以編過.我還幫你做了個實驗.. 下面是程式碼:. bigdick@bigdick:~/code$ cat no_return.c. #include <stdio.h>. #include <stdlib.h>. int f1(int b). {. int a;. a = b + 3;
(還有881個字)

推噓1(1推 0噓 17→)留言18則,0人參與, 最新作者kroutony (喵)時間15年前 (2010/10/20 01:42), 編輯資訊
0
0
0
內容預覽:
遇到的問題: (題意請描述清楚). #include <stdio.h>. #include <stdlib.h>. int f1(int b). {. int a;. a = b +3;. //return a;. }. int main(). {. int x,y,p;. x = 1;. pri
(還有129個字)
首頁
上一頁
1
下一頁
尾頁