-- advertisement --

Discussion

  1. Which keyword is used to exit a loop?
    1. goto
    2. exit
    3. break
    4. continue
  1. Correct Option: C

    break keyword is used to break from the loop.
    exit will terminate the program execution, goto is used to jump to another statement, continue is used to skip the immediate statement and start from the beginning.


Your comments will be displayed only after manual approval.

-- advertisement --

-- advertisement --