Why is the output as "no output " ?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
25th Sep 2021, 10:18 PM
Bart
Bart - avatar
2 Answers
+ 2
Always do dry run before compiling on editor whatever you have written here your loop condition is invalid that's why it shows no output #include <stdio.h> int main() { for(unsigned int i =0 ; i <2 ;i++) { puts("text"); } return 0; }
26th Sep 2021, 7:31 AM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 1
Condition - I < 2;
25th Sep 2021, 11:22 PM
Kazi
Kazi - avatar