Top

Discussion

What will be the output of the program?

#include
#define MAX(a, b, c) (a>b ? a>c ? a : c: b>c ? b : c)

int main()
{
    int x;
    x = MAX(3+2, 2+7, 3+7);
    printf("%d\n", x);
    return 0;
}

 

  • A.3
  • B.5
  • C.10
  • D.3+7

Answer: C

No answer description available for this question.

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

Post your comment