第19776题
判断将给定C++代码中for循环的初始值i=1调整为i=0后,程序输出结果是否相同
int i;
int cnt = 0;
for (i = 1; i < 5; i++)
  if(i%2) cnt += 1;
cout << cnt;
A

正确

B

错误