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

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


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