求教~为什么会有这个warning??
运行成功
hello.c: In function 'getAge': hello.c:7:5: warning: type of 'numPeople' defaults to 'int' [-Wimplicit-int] int getAge(numPeople) ^~~~~~ 第5个人的年龄是18岁
hello.c: In function 'getAge': hello.c:7:5: warning: type of 'numPeople' defaults to 'int' [-Wimplicit-int] int getAge(numPeople) ^~~~~~ 第5个人的年龄是18岁
2018-06-14
举报