assert.h is a header file in the C standard library. It defines the C preprocessor macro assert and implements runtime assertion in C.
assert.h is defined in ANSI C as part of the C standard library. In the C++ programming language, assert.h and <cassert> are available; both are functionally equivalent.