?
Find the output of the following program.
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++));
}
Answer & Solution
Correct Answer:
Option
D
L value is required for this expression (x++) which is illegal.
Join the Discussion
Login to post a comment or share your explanation.
Login