What will be the output when i executed the for(;;){printf("");} | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What will be the output when i executed the for(;;){printf("");}

For loop

14th Sep 2019, 5:44 PM
Deepanshu Bansal
Deepanshu Bansal - avatar
6 Answers
+ 3
Why not check it by yourself?
14th Sep 2019, 5:56 PM
KfirWe
KfirWe - avatar
+ 2
It is an endless loop, and you print nothing, so nothing happens.
14th Sep 2019, 6:01 PM
🍇 Alex Tușinean 💜
🍇 Alex Tușinean 💜 - avatar
+ 2
Yes
14th Sep 2019, 6:03 PM
🍇 Alex Tușinean 💜
🍇 Alex Tușinean 💜 - avatar
0
Sololearn compiler is fail to give me the output of this code so can you help me !
14th Sep 2019, 5:58 PM
Deepanshu Bansal
Deepanshu Bansal - avatar
0
You sure
14th Sep 2019, 6:02 PM
Deepanshu Bansal
Deepanshu Bansal - avatar
0
Yes you are right
14th Sep 2019, 6:03 PM
Deepanshu Bansal
Deepanshu Bansal - avatar