但是对第一题问的是i的值不是y的值啊,跟y有没有initialized有关吗?
看错了。loop完了i就不存在了。
the scope of variable i is just the loop.
if you don't know what is "scope", theck your text book
if you don't know what is "scope", theck your text book
本帖共有 7 楼,当前显示第 4 楼,本文还有 N-1 层楼,要不你试试看:点击此处阅读更多 >>