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 | 6 No |
Post New Answer View All Answers
find the sum of two matrices and WAP for it.
Why is c called c?
How is = symbol different from == symbol in c programming?
Add Two Numbers Without Using the Addition Operator
simple program of graphics and their output display
Implement bit Array in C.
Explain what is the advantage of a random access file?
Explain about the constants which help in debugging?
Is there any data type in c with variable size?
Explain how can you tell whether a program was compiled using c versus c++?
Why main is not a keyword in c?
What is non linear data structure in c?
Given two strings S1 and S2. Delete from S2 all those characters which occur in S1 also and finally create a clean S2 with the relevant characters deleted.
Mention four important string handling functions in c languages .
Why c language?