Home > Back-end >  Help!!!!!! Why is this code written this???????
Help!!!!!! Why is this code written this???????

Time:06-03

CodePudding user response:

For (I=number - 1; I>=0; i--)

CodePudding user response:

For (I<=number - 1; I>=0; I++)

I<=number 1 this is a Boolean expression, the result is 0;
At this point, I because of the for loop in front of is 5, the cycle is quite so
For (I=5; I>=0; I++). So the output a [5] the cross array

CodePudding user response:

I hope it can help you: https://blog.csdn.net/it_xiangqiang/category_10581430.html
I hope it can help you: https://blog.csdn.net/it_xiangqiang/category_10768339.html
  • Related