+ 1
I am not able to get it?
#include<studio.h> #define square(x) x*x Int main() { printf("%d",square(4-1)); return 0 } Answer is -1 How
2 Respuestas
+ 8
#define square(x) x*x
square(4-1) = 4-1*4-1 = 4-4-1 = -1
#define square(x) (x)*(x)
square(4-1) = (4-1)*(4-1) = 9