Which of the following for statements is valid? Select the one correct answer. (a) int j =

Question:

Which of the following for statements is valid?

Select the one correct answer.

(a) int j = 10; for (int i = 0, j += 90; i < j; i++) { j-

-; }

(b) for (int i = 10; i = 0; i--) {}

(c) for (int i = 0, j = 100; i < j; i++, --j) {;}

(d) int i, j; for (j = 100; i < j; j--) { i += 2; }

(e) int i = 100; for ((i > 0); i--) {}

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: