//C program to print //all natural numbers //upto N using semi colon #include <stdio.h> #define N 10 int main(int val) { if(val<=N & printf("%d",val) && main(val+1)){ } }
To embed this program on your website, copy the following code and paste it into your website's HTML: