Question: 4. Read the section titled 2.2 PRE31-C. Avoid side effects in arguments to unsafe macros in the Secure C standard and specifically the compliant solution
4. Read the section titled "2.2 PRE31-C. Avoid side effects in arguments to unsafe macros" in the Secure C standard and specifically the compliant solution described in subsection 2.2.4. Then, write a generic macro MAX(a,b) which gives the maximum of the two variables. The variables can be any combination of either char or int whether signed or unsigned. 4. Read the section titled "2.2 PRE31-C. Avoid side effects in arguments to unsafe macros" in the Secure C standard and specifically the compliant solution described in subsection 2.2.4. Then, write a generic macro MAX(a,b) which gives the maximum of the two variables. The variables can be any combination of either char or int whether signed or unsigned
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
