Another Newbie Question

This is a discussion on Another Newbie Question within the C Programming forums, part of the General Programming Boards category; Hi
sorry but i have another question ...
What is the C Command for closing the application/ending the program?
I ...

Well all you need to do is return something from your main program. There are other functions like exit() etc..., but in essence, all you need to do is "return" out of any functions that you're in the middle of, and ultimately return something from main.