Basic c++ question

Consider the statement
double ans = 20.0/multiply(2+3)
For each of the below mentioned four versions of the function macro multiply () below, write the corresponding value of ans variable.
a. #define multiply (x) xx
b. #define multiply (x) (x
x)
c. #define multiply (x) (x)(x)
d. #define multiply (x) ((x)
(x))

Hello @nimishbajaj0508,

I would suggest you write a code and see the values.
Example:

Hope, this would help.
Give a like if you are satisfied.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.