Mention the four important part of looping.
Explain in detail the four important part of looping in detail with explain.
- 3734 दृश्य
- 1 उत्तर
Your Answer
The four important type of loop is :
The setup: Usually the setup involves declaring and initializing an incrementvariable. This generally occurs immediately before the while.
The test expression: The expression within the while loop that will cause the program to either execute the loop or exit and continue on. This always occurs within the parentheses following the keyword while.
The body: This is the code within the braces.
The increment: This is where the increment variable is incremented. This usually occurs at the end of the body.
-
- 02 अप्रैल
- 0 टिप्पणी
टिप्पणी
मॉक परीक्षण अभ्यास के लिए
c programming