運行成功但是感覺有一些問題
hello.c: In function 'yearOld':
hello.c:7:5: warning: type of 'n' defaults to 'int' [-Wimplicit-int]
int yearOld(n)
? ? ^~~~~~~
第5個人的年齡是18歲
顯示了運行成功但是之前那段代碼是什么意思?
hello.c: In function 'yearOld':
hello.c:7:5: warning: type of 'n' defaults to 'int' [-Wimplicit-int]
int yearOld(n)
? ? ^~~~~~~
第5個人的年齡是18歲
顯示了運行成功但是之前那段代碼是什么意思?
2018-03-20
舉報
2018-03-21
int yearOld(n)改成int yearOld( int n)