#define max(x,y) x=(x>y)?x:y is a macro definition, which can find the maximum of two numbers x and y if:
A. x and y are both integers only
B. x and y are both declared as float only
C. x and y are both declared as double only
D. x and y are both integers, float or double
Answer:D
#define max(x,y) x=(x>y)?x:y is a macro definition, which can find the maximum of two numbers x and y if:
A. x and y are both integers only B. x and y are both declared as float only C. x and y are both declared as double only D. x and y are both integers, float or double