The following nested loop structure will execute the inner most statement (x++) how many times?
for(int j = 0; j < 100; j++)
for(int k = 100; k > 0; k--)
x++;
a) 100
b) 200
c) 10,000
d) 20,000
e) 1,000,000
Answer: c. The outer loop iterates 100 times. Each time it iterates, the inner loop, and the x++ statement, execute 100 times. Therefore, the statement x++ executes 100*100 = 10,000 times.