Difference between For and While Loop in C
This C Tutorial explains the differences between the while and for loop in C. While Loop In while loop, condition is checked before execution of each iteration and as condition fails, loop terminates. While Loop Syntax /* * In while, condition is tested in the beginning of each iteration */ while (condition) { … Read more