Saved Bookmarks
| 1. |
Write short notes on Test expression. |
|
Answer» The test expression is an expression or condition whose value decides whether the loop – body will be executed or not. If the expression evaluates to true (i.e., 1), the body of the loop is executed, otherwise the loop is terminated. In an entry – controlled loop, the test – expression is evaluated before the entering into a loop whereas in an exit – controlled loop, the test – expression is evaluated before exit from the loop. |
|