Which error is produced if the automatic variables are used without declaration?

Which error is produced if the automatic variables are used without declaration?
A. Undefined symbol
B. Memory error
C. Type mismatch
D. Statement missing
 
Answer: a
Explanation: If the automatic variables are used without declaration or are used before the declaration then the compiler throws an error. The error that the symbol is undefined. The compiler must know everything before that can be used.
 

Tìm kiếm

Back
Top