abort
Syntax:
#include <stdlib.h> void abort( void ); The function abort() terminates the current program. Depending on the implementation, the return value can indicate failure. |
#include <assert.h> void assert( int exp );
The assert() macro is used to test for errors. If exp evaluates to zero, assert() writes information to STDERR and exits the program. If the macro NDEBUG is defined, the assert() macros will be ignored.