题目内容

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

The second loop of a nested loop is called the ____ loop.

A. inner
B. outer
C. salve
D. conditioned

The ____ statement always creates a posttest loop.

A. while
B. do-while
C. for
D. repeat-until

答案查题题库