|
Is the following code fragment correct?
A good answer might be:
Yes. The variable sum was declared outside of the | |
Scope
The scope of a variable is the statements where it can be used.
The scope of a variable declared as part of a Another way to say this is: A loop control variable declared as part of a | |
QUESTION 3:Is the following code correct?
|