Posts

Loops In C

Syntax of Loops In C  // For loop for (int i = 0; i < 10; i++) {     // Code to be executed } // While loop int i = 0; while (i < 10) {     // Code to be executed     i++; } // Do-while loop int i = 0; do {     // Code to be executed     i++; } while (i < 10);