Name the different types of loops available in C with syntax
There are three types of loops in C programming:
1. for loop
2. while loop
3. do-while loop
The for loop is generally used when the number of iterations is known, while while and do-while loops are preferred when the number of iterations depends on a condition. The do-while loop executes the loop body at least once before checking the condition.




