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
When should you not use a type cast?
write a program that reads lines(using getline), converts each line to an integer using atoi, and computes the average of all the numbers read. also compute the standard deviation.
please explain every phase in the "SDLC" in the dotnet.
What are local variables c?
will u please send me the placement papers to my mail???????????????????
What is the difference between variable declaration and variable definition in c?
How do you construct an increment statement or decrement statement in C?
Can we declare function inside main?
What is a lvalue
What is else if ladder?
what are # pragma staments?
What is calloc()?
application attempts to perform an operation?
What are the preprocessor categories?
Q.1 write aprogram to stack using linklist o insert 40 items? Q.2 write a program to implement circular queue with help of linklist?