单选题
有定义语句:char s[10];,若要从终端给s输入5个字符,错误的输入语句是
____
。
A、
gets(&s[0]);
B、
scanf("%s",s+1);
C、
gets(s);
D、
scanf("%s",s[1]);
【正确答案】
D
【答案解析】
提交答案
关闭