InterviewSolution
Saved Bookmarks
| 1. |
What Will Be The Consequence If The Upper Bound Of The For-loop Counter Gets A Smaller Value Than The Lower Bound? |
|
Answer» If the upper BOUND of a FOR-LOOP is assigned a value smaller than the lower bound of the loop, then the STATEMENTS WITHIN the loop are not executed and the CONTROL is PASSED to the statement after the loop. If the upper bound of a FOR-LOOP is assigned a value smaller than the lower bound of the loop, then the statements within the loop are not executed and the control is passed to the statement after the loop. |
|