C LANGUAGE - 21: DO WHILE LOOP

 HERE, WE WILL SEE ABOUT DO WHILE LOOP IN C:

#include<stdio.h>
#include<stdlib.h>

int main() {

    int index = 6;
    do {
        printf("%d\n", index);
        index ++;
    } while (index <= 5);

    return 0;
}

Comments