main()
{
int x=20,y=35;
x = y++ + x++;
y = ++y + ++x;
printf("%d %d\n",x,y);
}
Answer Posted / ledia
The program results in an undefined behaviour. You're wrong
if you have a certain answer. Learn more on the wikipedia
http://en.wikipedia.org/wiki/Sequence_point
| Is This Answer Correct ? | 5 Yes | 4 No |
Post New Answer View All Answers
What is structure and union in c?
Why we use stdio h in c?
Write a program to swap two numbers without using third variable in c?
What are c identifiers?
What is the scope of local variable in c?
Once I have used freopen, how can I get the original stdout (or stdin) back?
Why doesnt the call scanf work?
What is static function in c?
What will be the outcome of the following conditional statement if the value of variable s is 10?
‘ C’ PROGRAME TO SHOW THE TYPE OF TRANGLE BY ACCEPTING IT’S LENGTH .
What are volatile variables in c?
What is indirection?
What is LINKED LIST? How can you access the last element in a linked list?
What are the types of bitwise operator?
Why is python slower than c?