abort()Prototype: void abort(void);Header File: stdlib.h (C) or cstdlib (C++) Explanation: Similar to exit, it will return an exit code indicating an abnormal program exit to the operating system and quit the program. Example: //Example aborts the program #include <cstdlib> int main() { abort(); }Other Functions |