main()
{
int x=20,y=35;
x = y++ + x++;
y = ++y + ++x;
printf("%d %d\n",x,y);
}
Answer Posted / s mahesh babu
56 and 93....
why bcz..... x=y++ + x++; in this expression xy values are post increment mean .. value not change so x=20+35-->55;
in next expression y=++y + ++x;...... so y & x pre increment ... here y=37+56.... 93
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
console I/O functions means a) the I/O operations done on disk b) the I/O operations done in all parts c) the input given through keyboard is displayed VDU screen d) none of the above
where are auto variables stored? What are the characteristics of an auto variable?
What is a union?
Do you know pointer in c?
Do you know the use of 'auto' keyword?
What is the use of a ‘ ’ character?
Why does this code crash?
How can I change their mode to binary?
What are the types of data structures in c?
Difference between pass by reference and pass by value?
C language questions for civil engineering
Write programs for String Reversal & Palindrome check
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
Tell me when would you use a pointer to a function?
Explain how do you determine a file’s attributes?