Nowy kurs! Każdy programista powinien nauczyć się Generative AI!
Wypróbuj darmową lekcję0
What's the difference between the for loop contain a statment inside the loop with curly braces and without the curly braces
2 odpowiedzi
+ 2
Not clear question..??? Example?
If you have single statement in loop, you can skip to put braces otherwise you should use braces. If you ommit braces then next single statement will be considered as belong loop..