Home > Back-end >  Help me to look at this is why
Help me to look at this is why

Time:11-28

CodePudding user response:

The first for loop to 0 and 8 of 9 variable assignment
The second for loop to output the 0-9 10 variable
Nine variables have no assignment so there will be an uncertain initial value is what you see first

CodePudding user response:

A [9] did not give it a value assignment, content is a random value at this time

CodePudding user response:

Subscript 9 elements is not the assignment, because I only is 8 (maximum), when equal to 9 does not meet the loop condition, the solution is the first for loop into the I & lt;=9
  • Related