+ 1

why is printf executed later even tho it is used earlier here?

https://code.sololearn.com/c8aSi46rKV5u Use input as 1 2 2 ab cd 1

17th Dec 2021, 1:02 PM
Ishaan Oberoi
Ishaan Oberoi - avatar
2 odpowiedzi
0
It's a Sololearn Code Playground thing, it takes up all possible input (s) before displaying the output
17th Dec 2021, 1:18 PM
Nikhil
Nikhil - avatar
0
Nikhil try it on any standard IDE other than sololearn , the problem was there not on sololearn Sorry for the miscommunication. https://www.online-ide.com/ijel6AudLz Here write in order: 1 2 2 Ab ce 1
17th Dec 2021, 1:44 PM
Ishaan Oberoi
Ishaan Oberoi - avatar