Top

Discussion

What will be the output of the program?

#include
#define PRINT(int) printf("int=%d, ", int);

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

 

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

Answer: A

No answer description available for this question.

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

Post your comment