Zencer Interview Questions and Answers



1. Find the Output of C Program ?

main()
{
int x=20,y=35;
x = y++ + x++;
y = ++y + ++x;
printf("%d %d\n",x,y);
} ? 
Answer : While calculating the y value, x & y values are preincremtned, so x & y values are incremented...


Related Searches to Zencer Interview Questions and Answers