How will you print numbers from 1 to 100 without using loop?

We cannot use any loop, for, do while, while. Print without the use of loop?

  • Aditi
  • 13 जून
  • 4969 दृश्य
  • 3 उत्तर
Your Answer

Use recursion... void printno(int n) { if(n>0) printno(n-1); printf("%d",n); }

c programming
मॉक परीक्षण अभ्यास के लिए
c programming