main()
{
int x=20,y=35;
x = y++ + x++;
y = ++y + ++x;
printf("%d %d\n",x,y);
}
Answer Posted / jaya prakash
57 94
{x=y++ + x++;}
equal to
{
x=y+x;//35+20
x++; //56
y++; //36
}
y=++y + ++x;
equal to
{
++y;//37
++x;//57
y=y+x;//37+57
}
So x=57
y=94
Is This Answer Correct ? | 219 Yes | 53 No |
Post New Answer View All Answers
Explain the concept and use of type void.
what is reason of your company position's in india no. 1.
What are the different types of errors?
Explain modulus operator. What are the restrictions of a modulus operator?
What is wrong with this declaration?
What does p mean in physics?
Explain how do you print only part of a string?
Can include files be nested?
How important is structure in life?
write a c programming using command line argument,demonstrate set operation(eg;union,intersection,difference) example output is c:>setop 12 34 45 1 union 34 42 66 c:>setop 12 34 1 42 66 c:>setop 12 34 diff 12 56 67 78 setop 12 34
Why do we use namespace feature?
Is main an identifier in c?
What is an auto keyword in c?
What is the use of gets and puts?
What is stack in c?