Solved

An Example for Statement That Has a Compound Initialization, Compound

Question 49

Multiple Choice

An example for statement that has a compound initialization, compound test and compound update could be written as ____.


A) for (int r = 0; c = 5; r < 3 && c > 2; r++; c--)
B) for (int r = 0; c = 5; r < 3 ; c > 2; r++; c--)
C) for (int r = 0, c = 5; r < 3, c > 2; r++, c--)
D) for (int r = 0, c = 5; r < 3 && c > 2; r++, c--)

Correct Answer:

verifed

Verified

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

Related Questions