0

for(x=0;;x++);

what will happen if I put semicolon at the end

2nd Aug 2016, 3:11 PM
umaiz shaikh
umaiz shaikh - avatar
4 Answers
+ 1
just the infinite loop happens
2nd Aug 2016, 3:19 PM
Jetti
+ 1
infinite loop
3rd Aug 2016, 12:51 PM
Arghya Paul
Arghya Paul - avatar
0
that loop is run only once
8th Aug 2016, 1:26 PM
srilekha
0
the loop will be infinite
12th Aug 2016, 9:01 AM
M.Mirajus Salehin
M.Mirajus Salehin - avatar