print 1 to 10

Print First 10 Numbers Using Recursion in C

program: #include<stdio.h> int table( int no ) { if ( no != 11 ) { printf ( "%d\n" , no ); no ++; table( no ); } } int main() { table( 1 ); return 0 ; } output:

Load More
That is All