Solved

What Happens If You Attempt to Use a Variable Before

Question 10

Multiple Choice

What happens if you attempt to use a variable before it has been initialized?


A) A syntax error may be generated by the compiler.
B) A run-time error may occur during execution.
C) A "garbage" or "uninitialized" value will be used in the computation.
D) A value of zero is used.
E) Only answers A and B are correct.

Correct Answer:

verifed

Verified

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

Related Questions