Top

Discussion

#include 
#if X == 3
    #define Y 3
#else
    #define Y 5
#endif
 
int main()
{
    printf("%d", Y);
    return 0;
}

What is the output of the above program?

  • A.3
  • B.5
  • C.3 or 5 depending on value of X
  • D.Compile time error

Answer: B

No answer description available for this question.

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

Post your comment