> For the complete documentation index, see [llms.txt](https://fashaun.gitbook.io/dev-c/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fashaun.gitbook.io/dev-c/c-library/asserth.md).

# assert.h

void assert(expression)

For display error when expression is FALSE

**expression** evaluates to TRUE, assert() does nothing.

**expression** evaluates to FALSE, assert() displays an error message on **stderr**

(standard error stream to display error messages and diagnostics) and aborts program execution.
