Which among the following is true for the variables?

Which among the following is true for the variables?
A. Variable can be defined only once
B. Variable can be defined any number of times
C. Variable must be defined more than one time
D. Variable can be defined in different files
 
Answer: a
Explanation: The variables can be defined only once. Once the variable is defined, then it can’t be declared again. The definition of a variable is actual allocation of memory for the variable.
 

Tìm kiếm

Back
Top