有以下程序 #include<stdio.h>main(){char b,c;i
2024-06-26 89次 计算机二级 反馈错误 加入收藏 正确率 : 100%
题目内容:
[单选题]有以下程序
#include<stdio.h>
main()
{char b,c;int i;
b=‘a’;c=‘A’;
for(i=0;i<6;i++)
{if(i%2) putchar(i+b);
else putehar(i+c);
}printf(“\n”);
}
程序运行后的输出结果是
A.ABCDEF
B.AbCdEf
C.aBeDeF
D.abcdef
本题链接: