Standard library header <assert.h>
From cppreference.com
 
 
 
 
 
  C 
 Concurrency support (C11)
 Standard Library headers  
   
 
 <stdmchar.h> (C29)
 <stdnoreturn.h> (C11*)
 <tgmath.h> (C99)
 <threads.h> (C11)
 <uchar.h> (C11)
 <wchar.h> (C95)
 <wctype.h> (C95)
This header is part of the error handling library.
Macros
 
 aborts the program if the user-specified condition is not true. May be disabled for release builds 
(function macro) [edit]
(function macro) [edit]
[edit] Synopsis
#if __STDC_VERSION__ >= 202311L # define __STDC_VERSION_ASSERT_H__ 202311L # ifdef NDEBUG # define assert(...) ((void)0) # else # define assert(...) /* implementation-defined */ # endif #else # ifdef NDEBUG # define assert(condition) ((void)0) # else # define assert(condition) /* implementation-defined */ # endif #endif