Why does it also check x[0] if i = 1

前端 未结 0 1379
情歌与酒
情歌与酒 2021-01-17 05:19

Why does this for loop consider x[0] when i = 1 and i++ ?

int[] x = {43, 6, 12, 8};
int max=x[0];
    for(i = 1; imax)         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题