View on GitHub How to use for loop in C Language For Loop On this page On this page For Loop Output For Loop Program to use For Loop in C Language #include <stdio.h> int main() { int i; for (i = 1; i <= 5; i++) { printf("%d\t", i); } printf("\n"); return 0; } Output 1 2 3 4 5