0 votes 0 votes What is the output of the following program? User007 asked Jan 21, 2017 User007 419 views answer comment Share Follow See all 3 Comments See all 3 3 Comments reply User007 commented Jan 21, 2017 reply Follow Share I too got the same answer but made easy says 10. 0 votes 0 votes focus _GATE commented Jan 21, 2017 reply Follow Share best to know compile and run it :) and let me know :) 0 votes 0 votes Tendua commented Jan 21, 2017 reply Follow Share Answer is 10. 0 votes 0 votes Please log in or register to add a comment.
Best answer 2 votes 2 votes Macros in C simply replace the macro-call by the macro definition. $MUL(MUL(a+1, b), POW(b+1))$ $MUL(a+1 * b, POW(b+1))$ $MUL(a+1 * b, b+1 * b+1)$ $a+1 * b * b+1 * b+1$ $a+b*b+b+1$ $a+b^2+b+1$ Put $a = 3$ and $b = 2$, $3+4+2+1$ $= 10$ air1 answered Jan 21, 2017 • selected Jan 21, 2017 by Rahul Jain25 air1 comment Share Follow See all 0 reply Please log in or register to add a comment.