Answers for "how to terminate program c++"

C++
7

exit() in c++

#include <stdlib.h>

int main(){
  exit(1);  //quits program
}
Posted by: Guest on April-02-2021

Code answers related to "how to terminate program c++"

Browse Popular Code Answers by Language