例若准备将字符串“This is a string.记录下来, 错误的输入语句为: ④scanf0o%20s”,s)片 (B)for(k=0;k<17;k++) s[k]=getchar(); (C)while((c=getchar()!=\n') s[k++]=C; 例 若准备将字符串“This is a string.”记录下来, 错误的输入语句为: (A)scanf(“%20s”,s); (B)for(k=0;k<17;k++) s[k]=getchar(); (C)while((c=getchar())!=‘\n’) s[k++]=c;