输出没错,这是warning怎么处理?
hello.c: In function 'getPeachNumber': hello.c:4:5: warning: type of 'n' defaults to 'int' [-Wimplicit-int] int getPeachNumber(n)
hello.c: In function 'getPeachNumber': hello.c:4:5: warning: type of 'n' defaults to 'int' [-Wimplicit-int] int getPeachNumber(n)
2020-07-13
举报