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 the value of c?
How can I invoke another program or command and trap its output?
Linked list is a Linear or non linear explain if linear how it working as a non linear data structures
#include main() { char s[] = "Bouquets and Brickbats"; printf(" %c, ",*(&s[2])); printf("%s, ",s+5); printf(" %s",s); printf(" %c",*(s+2)); }
What is getch() function?
Explain what are bus errors, memory faults, and core dumps?
How can I manipulate strings of multibyte characters?
How can you find the day of the week given the date?
What is structure packing in c?
Is it better to bitshift a value than to multiply by 2?
Is c# a good language?
How is = symbol different from == symbol in c programming?
What is scanf () in c?
Can the sizeof operator be used to tell the size of an array passed to a function?
How do I get a null pointer in my programs?