adplus-dvertising
frame-decoration

Question

What is the output generated by the following code?
#define square (a) (a*a)
printf("%d", square (4+5) ) ;

a.

81

b.

4

c.

29

d.

None of the above.

Posted under C Programming

Answer: (c).29

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the output generated by the following code?