Header Ads

  • Breaking Now

    When do you use 'continue' and 'break' statements?

    When one wants to complete the iteration of a loop prematurely then 'continue' statement is used.
    While the 'break' statement is used to exit the entire loop whenever encountered.

    Post Top Ad

    Post Bottom Ad