Skip to content
EntityQ306248· pop 14· linked from 33 articles

Also known as cassert, <assert.h>, <cassert>, C Programming/assert.h

'''''' is a header file in the C standard library. It defines the C preprocessor macro and implements runtime assertion in C.

~3 min read

Encyclopedic overview

7 sections
Contents
  • Use
  • {{mono|static_assert}}
  • {{mono|contract_assert}}
  • Other languages
  • References
  • Citations
  • Bibliography

'''''' is a header file in the C standard library. It defines the C preprocessor macro and implements runtime assertion in C.

is defined in ANSI C as part of the C standard library. In the C++ programming language, and are available; both are functionally equivalent.

Excerpted from Wikipedia’s “assert.h” article, available under the CC BY-SA 4.0 licence.