Menu

If a variable is declared in the for loop control, can it be used after the loop exits? If yes, explain why? If no, why not?

Question

Answered step-by-step

If a variable is declared in the for loop control, can it be used…

If a variable is declared in the for loop control, can it be used after the loop exits? If yes, explain why? If no, why not?

OR

Leave a Reply

Your email address will not be published. Required fields are marked *