#include <assert.h>
void assert(int expr);
assert() is a macro that indicates expression expr is expected to be true at this point in the program. If expr is false (0), assert() halts the program. Compiling with option -DNDEBUG or placing the preprocessor control statement
#define NDEBUG
before the #include <assert.h > statement effectively deletes all assertions from the program.
abort() and