What is the output of the following code? [code]i=0;for i=0:2 i=1; end[/code]

Alvin Le

Member
What is the output of the following code?
Code:
i=0;for i=0:2  
i=1; end
A. Output is suppressed
B. Output shows 1 3 times
C. Output shows 1 2 times
D. Error
 

Tìm kiếm

Back
Top