main()
{
int x=20,y=35;
x = y++ + x++;
y = ++y + ++x;
printf("%d %d\n",x,y);
}
what is the output?
Answer Posted / yusuf
x++ means we have to assign the value and then the
increment comes to light.......so
x=y++ + x++;
=35 + 20;
=55
now the value of x=55 then
y=37 + 56;
=93
Is This Answer Correct ? | 2 Yes | 5 No |
Post New Answer View All Answers
Explain the difference between exit() and _exit() function?
about c language
WRITE A CODE IN C TO SEARCH A FILE FROM NOTEPAD FILE.
write a c program thal will find all sequences of length N that produce the sum is Zero, print all possible solutions?
What are 3 types of structures?
What is the condition that is applied with ?: Operator?
What is the difference between abs() and fabs() functions?
How can I direct output to the printer?
7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.
Tell me what is null pointer in c?
Can you please explain the difference between malloc() and calloc() function?
When should a type cast not be used?
what is ur strangth & weekness
i have to apply for the rbi for the post of officers. i need to know abt the entrance questions whether it may be aps or techinical....
Why c is procedure oriented?