Question: Question 2 Write parameterized (function-like) macros that compute the following values. (Manually graded. 12 points total.) A. CUBE(X) -- The cube of x B. REM(n)

Question 2 Write parameterized (function-like) macros that compute the following values. (Manually graded. 12 points total.) A. CUBE(X) -- The cube of x B. REM(n) -- The remainder of n when it is divided by 4 C. PRODCHECK(x,y) -- 1 if the product of x and y is less than 100, 0 otherwise. (The ternary operator is helpful here)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
