For Loop Print 1 To 10 Number In C


#include<stdio.h> int main(){ int p=0; for(p=1;p<=10;p++){ printf("%d \t",p); } return 0; }

Output:-

1 2 3 4 5 6 7 8 9 10