How does the output give result 012 in the following code bit? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How does the output give result 012 in the following code bit?

https://code.sololearn.com/Wtxg23nF92T6/?ref=app

24th Nov 2022, 3:50 PM
Ashish Yadav
Ashish Yadav - avatar
2 Answers
+ 4
That's how for loop works.. Straight farword,simply Learn about loops. You can find it easily...
24th Nov 2022, 4:01 PM
Jayakrishna 🇮🇳
+ 2
I understood that there is no break<br/> So the output give result 012
25th Nov 2022, 2:33 PM
Ashish Yadav
Ashish Yadav - avatar