Do while loop in C language

The do..while loop is similar to the while loop with one important difference that it is guaranteed to execute at least one time. The do-while loop is mainly used in the case where we … Read more

While loop in C language

While loop is also known as a pre-tested loop. It repeatedly executes a target statement as long as a given condition is true. It can be viewed as a repeating … Read more

For loop in C language

A for loop is a repetition control structure. It is used to iterate the statements or a part of the program several times. In this tutorial, you will learn to create for loop … Read more