You are writing a program that defines a variable within a loop, and then tries to use that variable outside the loop. However, the program does not run as intended. What is the issue?

A. The variable is being overwritten inside the loop.
B. The variable is declared with an incorrect type.
C. The variable is limited to the scope of the loop.
D. The variable name conflicts with a built in keyword.

Answer: C

Computer Science & Information Technology

You might also like to view...

You can move database tables to a separate database file

Indicate whether the statement is true or false

Computer Science & Information Technology

Which of the following is a type of Windows application that runs in the background without user interaction?

A. task B. process C. service D. app

Computer Science & Information Technology