Assertion.

Provides a debugging aid when developing applications, assert prints a debugging message containing the filename and line number of the source code that checked the expression.

assert is defined as a macro, and may be turned off without modifying the source code by defining the precompiler definition NDEBUG.

Routine Use
assert Prints an error message when an expression is false