SyntaxFix
Write A Post
Hire A Developer
Questions
the return statement exits from the current function and exit() exits from the program
they are the same when used in main() function
also return is a statement while exit() is a function which requires stdlb.h header file