Computer Science, asked by raj4427, 4 months ago

what is the difference between return and
system. exit (0)​

Answers

Answered by kiranrout2007
0

Answer:

Return simply returns from the function to its caller and the program continues running. System. exit() terminates the program; control does not return to the caller. ...

exit() when your program encounters an unrecoverable error and there is no point in the program continuing to run.

Explanation:

Hope this answer is helpful to u and give me thanks and take thanks please follow also &please mark me as brainlist.

Similar questions