Explain how Nested loops gets executed?

Showing Answers 1 - 1 of 1 Answers

Instrument

  • Mar 18th, 2007
 

A nested loop is a loop within a lop, an inner loop within the body of an outer one. How this workds is that the first pass of the outer loop triggers the innter which executes to completion. Then the second pass of the outer loop triggers the loop again. This repeats until the outer loop finishes.. Of course, a break within either the inner or outer loop would interrupt the process.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions