Top

Discussion

What will be the output of the program?

#include
#define SQR(x)(x*x)

int main()
{
    int a, b=3;
    a = SQR(b+2);
    printf("%d\n", a);
    return 0;
}

 

  • A.25
  • B.11
  • C.Error
  • D.Garbage value

Answer: B

No answer description available for this question.

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

Post your comment