CodePudding user response:
Put the if judgment in 2 in the front of the sentence above, after a while loop should determine the I & gt;=L.l engthBecause they do not know the conditions of the while loop exit is which one, thus determine first whether I & gt;=L.l ength exit, so that ensure the array is not crossing the line, or linear table is beyond the scope
CodePudding user response:
Thank you, my careless theCodePudding user response:
It is rare to see people pen write code!This is a good habit, for beginners to insist!