The function stops its execution when it encounters?

The function stops its execution when it encounters?
A. continue statement
B. break statement
C. goto statement
D. return statement
 
Answer: d
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.
 

Tìm kiếm

Back
Top