Solved

How Many Times Will the Following Nested Loop Structure Execute

Question 7

Multiple Choice

How many times will the following nested loop structure execute the innermost statement (x++;) ? for(int j = 0; j < 100; j++)
For(int k = 100; k > 0; k--)
X++;


A) 100
B) 200
C) 10,000
D) 20,100
E) 1,000,000

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions