- #1
rocketboy
- 243
- 1
Hey,
I was just wondering if there is a simple command in C that terminates the program.
So say I am getting input from the user, and if they type '0' I want the program to terminate, I would use this in an if statement to close the program.
Thanks!
I was just wondering if there is a simple command in C that terminates the program.
So say I am getting input from the user, and if they type '0' I want the program to terminate, I would use this in an if statement to close the program.
Thanks!