InterviewSolution
Saved Bookmarks
| 1. |
Which is the correct declaration of macro assert?(a) void assert(int expression);(b) void assert(float expression);(c) void assert(double expression);(d) void assert( expression);The question was asked in class test.My question is based upon Diagnostics in chapter C Library of C |
|
Answer» CORRECT answer is (a) VOID assert(INT expression); To explain: The RIGHT declaration of the macro assert DEFINED under the header file assert.h is void assert(int expression), expression can be any variable. |
|