Top

Discussion

What will be the output of the program?

#include
#define PRINT(i) printf("%d,",i)

int main()
{
    int x=2, y=3, z=4;
    PRINT(x);
    PRINT(y);
    PRINT(z);
    return 0;
}

 

  • A.2, 3, 4,
  • B.2, 2, 2,
  • C.3, 3, 3,
  • D.4, 4, 4,

Answer: A

No answer description available for this question.

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

Post your comment