Top

Discussion

What will be the output of the program?

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

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

 

  • A.8
  • B.9
  • C.6
  • D.4

Answer: B

No answer description available for this question.

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

Post your comment