Complete the code to define a macro named PI with the value 3.14.
#define [1] 3.14
The macro name should be PI to represent the constant value 3.14.
Complete the code to define a macro named MAX that returns the maximum of two values a and b.
#define MAX(a, b) ((([1]) > (b)) ? (a) : (b))
a and b in the comparison.The macro compares a and b to return the maximum value.
Fix the error in the macro definition to correctly square a number x.
#define SQUARE(x) (([1]) * ([1]))
X which is undefined.The macro should use the parameter x exactly as given to correctly compute the square.
Fill both blanks to define a macro named MIN that returns the minimum of two values a and b.
#define MIN(a, b) ((a) [1] (b) ? (a) : (b))
The macro uses the less than operator < to find the minimum value.
Fill all three blanks to define a macro named ABS that returns the absolute value of x.
#define ABS(x) ((([1]) < 0) ? -([2]) : [3])
x.x when it is negative.The macro checks if x is less than zero, then returns its negation; otherwise, returns x.