What happens when a CONTINUE statement is encountered during program execution?

  • It continues with the next iteration of the loop
  • It restarts the program from the beginning
  • It terminates the program
  • It transfers control to the next paragraph in the procedure division
When a CONTINUE statement is encountered in COBOL, it transfers control to the next paragraph in the procedure division. It is often used for creating empty or dummy paragraphs and does not affect the flow of the program.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *