题目内容

The ____ statement is similar to the break statement but applies only to loops created with while, do-while, and for statements.

A. stop
B. loop
C. exit
D. continue

查看答案
更多问题

The statement ____ is a null statement.

A. break;
B. continues
C. ;

The need to initialize variables or make some other evaluations prior to entering a repetition loop is so common that the ____ statement allows all the initializing statements to be grouped together as the first set of items within the statement’s parentheses.

A. for
B. while
C. do-while
D. switch

The ____ semicolons must always be present within the for statement’s parentheses.

A. two
B. three
C. four
D. five

Omitting the ____ expression in a for statement results in an infinite loop.

A. initializing
B. altering
C. tested
D. break

答案查题题库