Solved

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

Question 20

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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents