How many times will this for loop execute? (Note: i is an int.)

```for(i = 0; i < 10; --i) ```
A. 0, the loop will not execute
B. 9
C. 10
D. It is an infinite loop.


D

Computer Science & Information Technology

You might also like to view...

Describe the stack memory (or data) structure. Give a four-word description of the stack discipline.

What will be an ideal response?

Computer Science & Information Technology

Re-formatting information so that it can be edited more quickly or placed into a table is a common use for what?

A) Find and Replace B) Section breaks C) Headers D) Converting text to tables

Computer Science & Information Technology

The first step in the quick sort partition algorithm is to determine the ____________________ and swap it with the first element in the list.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

The top five lines of code in the accompanying figure generate a _____________ form.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology