+ 3
If we not put semicolon in for loop then what happen?
for loop
5 Respostas
+ 11
Syntax error.
+ 4
lol why did you make this question? why couldn't you just not put a semicolon in a for loop and see for yourself?
+ 3
we need more ppl like Jubbs tbh
+ 1
Adding semicolon to loop could make the program
• run with Error.
• run forever.
• no output
or • nothing happens.
It depends where you put the semicolon ;)
0
If you don't put Semicolon after loop statement, it will run smooth.
https://code.sololearn.com/cpZASb23I6Jd/?ref=app