Answers for "c++ function that can terminate program"

C++
7

exit() in c++

#include <stdlib.h>

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

Browse Popular Code Answers by Language