1.

Compare break and continue statement​

Answer»

Answer:

Both “BREAK” and “continue” are the ‘jump’ STATEMENTS, that transfer CONTROL of the PROGRAM to another part of the program. The main difference between break and continue is that break is used for immediate termination of loop. On the other hand, ‘continue’ terminate the current iteration and resumes the control to the NEXT iteration of the loop.

Explanation:



Discussion

No Comment Found