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.
詳解 (共 2 筆)
未解鎖
1. 題目解析 題目要求找出無法用來忽略...
未解鎖
1. 題目解析 這道題目考察的是 C 語...