Computer Science, asked by leelavathy6008, 5 hours ago

#include <iostream>
using namespace std;
int main()
{
int x, y;
x = 5;
x++ * ++x;
cout <<x << " " <<y;
return 0;
}​

Answers

Answered by Dhaval8055
0

Answer:

I think u wanted to write : y= <expression>

7 35

Explanation:

It's going to be 5*7 for y, and x will be 7

Answered by pragyakirti12345
0

Answer: 7   35

Explanation:

By post increment and pre increment:

x++ will first be used as 5 then will be incremented to 6

++x , x is now 6, so it will increase by 1 and then be used, so it becomes 7.

x++ * ++x  = 5 * 7 = 35

Similar questions