warning:ISO C90 forbids mixed declarations and code

warning:ISO C90 forbids mixed declarations and code
变量定义之前不论什么一条非变量定义的语句(重视:语句是会带分号的)都会引起这个警告!

将非变量的定义移到变量定义之后 就可以,也就是变量的声明 必须在运行语句之前。

原文地址:https://www.cnblogs.com/mengfanrong/p/5366441.html