Global variables must be mentioned _____ an M-file.

Global variables must be mentioned _____ an M-file.
A. at the top in
B. anywhere in
C. out of the
D. there is nothing called global variables
 
Answer: a
Explanation: Mentioning the global variables at the top of an M-file allows the user to prevent any error rising to usage of the same variable unconsciously. If we declare it anywhere, it may so happen that we would need it at the beginning. Hence- it is plausible to declare it at the top of an M-file.
 

Tìm kiếm

Back
Top