有以下程序 include main() {char a[30],b[30]; scanf(“%s”,a); gets(b); printf(“%s\n%s\n”,a,b); } 程序运行时

admin2011-04-29  27

问题 有以下程序
    include
    main()
    {char a[30],b[30];
    scanf(“%s”,a);
    gets(b);
    printf(“%s\n%s\n”,a,b);
    }
    程序运行时若输入:  
    how are you?  I am fine<回车>
    则输出结果是

选项 A、how are you?
     I am fine
B、how
     are you?  1 am fine
C、how are you? I am fine
D、how are you?

答案B

解析
转载请注明原文地址:https://jikaoti.com/ti/6BB0FFFM
0

最新回复(0)