In C, looping statements repeat the series of statements until the specified condition is no longer true. A loop in C is made up of two parts: the loop body and the control statement. The control statement is a set of conditions that tells the loop's body to keep running until the provided condition is false. The C loop's goal is to repeat the same code several times.
In this “Loops and Decision Statements – C Programming” you will learn about the following topics:
- Introduction of Loops in C Programming
- For Loop
- Syntax of For Loop, Flowchart of For Loop, Example of For Loop
- While Loop
- Syntax of While Loop, Flowchart of While Loop, Example of While Loop
- Do-While Loop
- Syntax of Do-While Loop, Flowchart of Do-While Loop, Example of Do-While Loop
- Nested Loops
- Decision Making In C Programming
- If ( ) Statement
- Syntax of If ( ) Statement, Flowchart of If ( ) Statement, Example of If ( ) Statement
- If ( ) Else Statement
- Syntax of If ( ) Else Statement, Flowchart of If ( ) Else Statement, Example of If ( ) Else Statement
- Ladder If ( ) Else Statement
- Syntax of Ladder If ( ) Else Statement, Flowchart of Ladder If ( ) Else Statement, Example of Ladder If ( ) Else Statement
- Nested If ( ) Else Statement
- Syntax of Nested If ( ) Else Statement, Flowchart of Nested If ( ) Else Statement, Example of Nested If ( ) Else Statement
- Switch Statement
- Syntax of Switch Statement, Flowchart of Switch Statement, Example of Switch Statement
- Break Statement
- Syntax of Break Statement, Flowchart of Break Statement, Example of Break Statement
- Continue Statement
- Syntax of Continue Statement, Flowchart of Continue Statement, Example of Continue Statement
- GoTo Statement
- Syntax of GoTo Statement, Example of GoTo Statement
==== Point to Note ====
This article Loops and Decision Statements – C Programming is contributed by Pawan Tiwari, a student of LA GRANDEE International College (LGIC).
If you like to contribute, you can mail us BCA Notes, BCA Question Collections, BCA Related Information, and Latest Technology Information at [email protected].
See your article appearing on BCA Notes (Pokhara University) main page with your designation and help other BCA Students to excel.
Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.
0 Comments