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
How can I recover the file name given an open stream?
You are to write your own versions of strcpy() and strlen (). Call them mystrcpy() and mystrlen(). Write them first as code within main(), not as functions, then, convert them to functions. You will pass two arrays to the function in the case of mystrcpy(), the source and target array.
What does struct node * mean?
Explain how do you determine the length of a string value that was stored in a variable?
Is that possible to store 32768 in an int data type variable?
How do you determine whether to use a stream function or a low-level function?
Explain how do you list a file’s date and time?
Are there namespaces in c?
Is there any demerits of using pointer?
How will you delete a node in DLL?
Why is c so important?
What is storage class?
Why we not create function inside function.
What is the difference between far and near ?
How can a string be converted to a number?