Question
What is the output of this C code?
int main()
{
int y = 1, x = 0;
int l = (y++, x++) ? y : x;
printf("%d\n", l);
}
int main()
{
int y = 1, x = 0;
int l = (y++, x++) ? y : x;
printf("%d\n", l);
}
Answer: Option A
Was this answer helpful ?
None.
Was this answer helpful ?
Submit Solution