Find the output of the following program.
#define INC(X) X++
void main()
{
int x=4;
printf("%d", INC(x++));
}
#define INC(X) X++
void main()
{
int x=4;
printf("%d", INC(x++));
}A. 4
B. 5
C. 6
D. Error
Answer: Option D
Solution (By Examveda Team)
L value is required for this expression (x++) which is illegal.

what is l-value
Check out the L value and R value concept of c program
what L? y?