1.

If NDEBUG is defined as a macro name, at the point where is included, then assert macro is defined as #define assert(ignore) ((void)0).(a) true(b) falseThis question was addressed to me by my school principal while I was bunking the class.Enquiry is from Diagnostics topic in section C Library of C

Answer» RIGHT answer is (a) true

The BEST I can explain: If NDEBUG is defined as a macro name at the point in the SOURCE file WHEREIS included, then the assert macro is defined as #define assert(ignore) ((void)0) .


Discussion

No Comment Found

Related InterviewSolutions