Using one loop Print following:12 34 5 67 8 9 10 and so on.

Showing Answers 1 - 3 of 3 Answers

Please mention in the condition till where you want to print or else it will go on printing and printing
i.e for(i=0;i

Code
  1. #include<stdio.h>

  2. main()

  3. {

  4. int i;

  5. for(i=0;;i++)

  6. {

  7. printf("%d ,",i);

  8.  

  9. }

  10.  

  11. }

  12.  

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions