English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
already defined macro assert points to another macro NDEBUG, the macro NDEBUG is not part of <assert.h>. If NDEBUG is defined as a macro name in the source file that references <assert.h>, then assert The definition of macro is as follows:
#define assert(ignore) ((void)0)
The following lists the unique functions defined in the header file assert.h:
Serial Number | Function & Description |
---|---|
1 | void assert(int expression) Assertion functions, used to catch program errors during debugging |