赞题库-背景图
单项选择题

Which of the following is not an error (either a syntax error or a logic error)? ( ) A. Neglecting to include an action in the body of a while statement that will eventually cause the condition to become false. B. Spelling a keyword (such as while or if) with a capitalized first letter. C. Using a condition for a while statement that is initially false. D. An infinite loop.