Question: what is the difference between exit and return in c?
Answer: What is the difference between exit() and return() in C? exit() is a system call which terminates current process. ... Whereas, return() is a C language instruction/statement and it returns from the current function (i.e. provides exit status to calling function and provides control back to the calling function).