The assert shall be implemented as a ______ not as an actual ________

Kim Thu Đoàn

New member
The assert shall be implemented as a ______ not as an actual ________
A. function, macro
B. macro, function
C. header, macro
D. macro, header
 
Answer: b
Explanation: assert shall be implemented as a macro and not a function, which is used to add diagnostics information in your C program. The behavior is undefined if the macro definition is suppressed to access an actual function.
 

Tìm kiếm

Back
Top