84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
for loop 0<10, i 1=1, echo $num[1], isn’t the result 2?
The for loop first determines when $i=0, $int<10, then executes the statement in the for loop, which is echo $num[0], and then executes i++, and then determines when i=1, the poster will for The sequence of the cycle process is wrong
Start from the 0th one, 0=1
The for loop first determines when $i=0, $int<10, then executes the statement in the for loop, which is echo $num[0], and then executes i++, and then determines when i=1, the poster will for The sequence of the cycle process is wrong
Start from the 0th one, 0=1