Increment/ Decrement: For every cycle, after the loop executes, the control goes to the increment statement.Statement Execution: Only if the test condition is true then the body of the loop is executed.It also tests the exit condition of the loop. Testing Condition: For loop is an Entry Control Loop, the condition is checked before the program executes.The variable can be initialized at a loop, or the variable can be declared separately. ![]()
0 Comments
Leave a Reply. |