Which among the following is a correct statement for variables?

Bảo Vy

Member
Which among the following is a correct statement for variables?
A. Variable can be declared many times
B. Variable can be declared only one time
C. Variable declaration can’t be done more than ones
D. Variable declaration is always done more than one time
 
Answer: a
Explanation: The variables can be declared any number of times. There is no restriction on how many times a single variables can be declared. Declaration is just an indication that the variable will be used in the program.
 

Tìm kiếm

Back
Top