1.

List the differences between break and continue statements?

Answer»

Break statement:

Break statement has even skipped the ‘else’ part of the loop and has transferred the control to the next line following the loop block.

Continue statement:

Continue statement unlike the break statement is used to skip the remaining part of a loop and start with next iteration.



Discussion

No Comment Found