Multiple Choice
Which of the following is an infinite loop?
A) for (k = 1; k <= 4; k = k + 1)
B) for (k = 1; k < 3; k = k + 1)
C) for (k = 0; k <= 10; k = k + 1)
D) for (k = 1; k <= 4; k = k - 1)
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q42: The iteration variable is often used in
Q43: The number of elements in an array
Q44: The starting point for a for loop
Q45: Iteration variables should be declared with the
Q46: Which of the following is the correct
Q47: The point at which array indexing begins
Q48: All for loops should have a <continuation>
Q49: Given the following JavaScript code, which of
Q51: A(n) _ is the single still image
Q52: The proper programming term for <continuation> is