Skip to content
doubtly

1 answer

Best answer

In C Programming, some special statements are used to transfer program control to one location to other location. There are following jumping statements are used in c:

  1. goto
  2. break
  3. continue
  4. return

1) goto

goto statement is used to jump program's control from one location to define label.

2) break

break statement is used in switch and loop statements, it is used to break the execution of the switch and loop's body and transfer control after the loop/switch statement.

3) continue

continue is used in looping statement, it transfer program's control in the starting of the loop's body.

4) return

Generally return statement is used in function's body, it transfers program's control from called to calling function.

Mr C. · 18 Jun 2022 Report
Was this answer helpful?

Your answer

Log in or create a free account to answer this question.