26. Which of the following code could not be used to ignore all remaining characters in the current input line?
(A) do {scanf("%c", &ch);} while (ch !='ln');
(B) do {ch = getchar();} while (ch !=' (n') ;
(C) while ((ch=getchar())!='In') ;
(D) while (getchar()!=' In') ;
(E) None of the above.
答案:登入後查看
統計: A(3), B(0), C(0), D(1), E(3) #3081356
統計: A(3), B(0), C(0), D(1), E(3) #3081356