1.在32位系统下运行以下程序,可能的输出结果为()
int main () {
int i,a[5];
for (i = 0; i <= 30; i++) {
a[i] = 0;
printf("%d:hello\n", i);
}
printf("%d:hello world",i);
return 0;
}
A 三十行的 i:hello (i∈[0,30]) 和一行 30:hello world
B 三十行的 i:hello (i∈[0,30]) 和一行 31:hello world
C 多行的 i:hello (i∈[0,30] )
D 多行的 i:hello (i∈[0,31])