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
Explain what is the benefit of using const for declaring constants?
What is the use of a ‘ ’ character?
given post order,in order construct the corresponding binary tree
application attempts to perform an operation?
Which operators cannot be overloaded a) Sizeof b) .* c) :: d) all of the above
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create.
Describe dynamic data structure in c programming language?
What does stand for?
Why is c fast?
What is the use of clrscr?
to find the closest pair
Can you apply link and association interchangeably?
What is a stream in c programming?
How can a process change an environment variable in its caller?
Explain how do you convert strings to numbers in c?