Solved

Assuming the Variable N Is an Integer That Stores a Positive

Question 20

Multiple Choice

Assuming the variable n is an integer that stores a positive value, which of the following is a loop with a bound that could be problematic?


A) for (i = 1; i != n; i++)
B) for (years = n; years < 0; years--)
C) for (i = 1; i <= n; i++)
D) for (int i = 1; i <= 10; i++)

Correct Answer:

verifed

Verified

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

Related Questions