Where should the loop control variable be initialized?

a) before the loop starts
b) in the first statement of the loop body
c) in the last statement of the loop body
d) anywhere in the loop body


a) before the loop starts

Computer Science & Information Technology

You might also like to view...

Hexadecimal represents numbers using which base?

A) 2 B) 8 C) 10 D) 16

Computer Science & Information Technology

The ____ of a variable means where a variable can be referenced within a program.

A. range B. life C. versatility D. scope

Computer Science & Information Technology

Online auctions are an example of the ____ business model.

A. consumer-to-consumer B. business-to-consumer C. business-to-business D. consumer-to-business

Computer Science & Information Technology

Outlook creates e-mail accounts for its users.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology