C program to print first n natural numbers without using any loop (do-while, for, or while). In the first program, we use recursion to achieve the desired output, and in the second, we use goto statement, i.e., without creating any function other than main.
output:
10
1
2
3
4
5
6
7
8
9
10
need an explanation for this answer? contact us directly to get an explanation for this answer