Solved

If a Variable Is Declared in the Initialization Expression of a for Statement

Question 30

Multiple Choice

If a variable is declared in the initialization expression of a for statement, then:


A) It is automatically reinitialized to zero once the loop is finished.
B) The scope of the variable is restricted to that for loop.
C) It retains its final value after the loop is finished.
D) It can not be used in any structures that are nested in that for structure.

Correct Answer:

verifed

Verified

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

Related Questions