1.

The function stops its execution when it encounters?(a) continue statement(b) break statement(c) goto statement(d) return statement

Answer» The correct choice is (d) return statement

Easiest explanation: Continue statement and break statement are used in the loops for skipping the iteration or going out of the loop. Whenever a return statement is encountered the function execution is stopped.


Discussion

No Comment Found

Related InterviewSolutions