Why don't we use semicolon In for loop | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why don't we use semicolon In for loop

For loop

2nd Feb 2019, 4:20 PM
notesforgeeks.com
notesforgeeks.com - avatar
2 Answers
+ 3
please provide an example and the programming language that are asking about
2nd Feb 2019, 4:36 PM
notqueued
notqueued - avatar
+ 1
Code-block statements, such as if and for loop, don't require you to set a semicolon after the parentheses nor after the square brackets.
2nd Feb 2019, 5:31 PM
Seb TheS
Seb TheS - avatar