+ 1

What is output of given program? (Output with explanation)

#include<stdio.h> #define square(x) x*x int main() { printf("%d",square(4-1)); return 0; }

27th Oct 2018, 9:27 AM
Shubham Gupta
Shubham Gupta - avatar
2 Respostas
+ 1
(4-1)*(4-1)=3*3=9
27th Oct 2018, 10:01 AM
s l
0
square (4-1) = square (3) = 3*3 = 9
27th Oct 2018, 9:54 AM
s l