TutorialsBazaar

← Back

Learn C++ Programming

Module 8/15

Loops (for, while, do-while)

Module 8 of 15

Loops repeat a block of code. for loop is used when iterations are known, while for condition-based loops, and do-while runs at least once.

Loops code को बार-बार चलाने के लिए उपयोग होते हैं जैसे for, while और do-while loops।

#include <stdio.h>

int main() {
    printf("Welcome to Loops (for, while, do-while)");
    return 0;
}