Top

Discussion

What is the output of the following C program?

#include
#define SQR(x) (x*x)
int main()
{
    int a;
    int b=4;
    a=SQR(b+2);
    printf("%dn",a);
    return 0;
}

 

  • A.14
  • B.36
  • C.18
  • D.20

Answer: A

No answer description available for this question.

No comment is present. Be the first to comment.
Loading…

Post your comment