C Programming Interview Questions and Answers-5
Q: – How do you remove a macro name? By using the #undef directive with a macro name, that macro name can be removed, or “undefined.” Q: – Why do you need the #endif directive? The #endif directive is used with an #if, #ifdef, or #ifndef directives because statements under the control of a conditional preprocessor directive are not enclosed in braces ({ and }). Therefore, #endif must be used to mark the end of the block of statements. Q: – Can the conditional expression following the #if directive be an arithmetic expression? Yes Q: – What is the difference … Click here to continue reading.