Home Modern › Forums › ISRO › What is the output of the following C program? (A) 14 What is the output of the following C program? (A) 14#include<stdio.h>
#define SQR(x) (x*x)
int
main()
{
int
a;
int
b=4;
a=SQR(b+2);
printf
(
"%d\n"
,a);
return
0;
}
(B) 36
(C) 18
(D) 20#include<stdio.h>
#define SQR(x) (x*x)
int
main()
{
int
a;
int
b=4;
a=SQR(b+2);
printf
(
"%d\n"
,a);
return
0;
}
(B) 36
(C) 18
(D) 20
nan