🔁Loop

Example: for Loop

#include <stdio.h>

int main() {
    for(int i = 1; i <= 5; i++) {
        printf("%d ", i);
    }
    return 0;
}

Last updated

Was this helpful?