柠檬试题库
search
首页 计算机 公务员 驾照 关于

若有以下程序 #include main() { char a[20], b[ ]="The sky is blue."; int i; for (i=0; i<7; i++) scanf("%c", &b[i]); gets(a); printf("%s%s\n", a,b); } 执行时若输入: (其中表示回车符) Fig flower is red. 则输出结果是


  • A.wer is red.Fig flo is blue.
  • B.wer is red.Fig flo
  • C.wer is red.The sky is blue.
  • D.Fig flower is red.The sky is blue.
热度🔥1,454
参考答案:A
解析:打开微信小程序查看本题解析