for函数

for(i=0;i<3;i++)

对于for函数,如果i不是for语句定义的变量,最后i的值为3。这一点要注意!!!

猜你喜欢

转载自blog.csdn.net/weixin_41169280/article/details/111533660