+ 1
Why is the 'square' not normal?
4 Answers
+ 5
Wah Wah Shwe(ģģģ)  Macros aren't functions . they are just like copy-pasting during compile time. 
#define sqr(x) x*x
During compile time compiler will replace every sqr(x) with x*x 
Like 
sqr(5+2) => 5+2*5+2
+ 1
Wah Wah Shwe(ģģģ) 
Define like this
#define sqr(x) (x)*(x)
0
YUGRAJ, I tested like this. But the answer is the same. I've to learn C language again to understand this.



