Computer Science, asked by aditi171945, 4 months ago

what is the value of y. if int x=5; y=x++*++x;​

Answers

Answered by dudenotes181004
2

Answer:

30

Explanation:

Given : x=5

y=x++*++x

y= 5*6

y=30

x++. is a operation which happens after a execution so the value of x++ remains 5.

++x is a operation which happens before a execution so value becomes 6.

So the product between them gives 30.

Thanks for seeing this answers.

Like and drop a comment.❤️❤️

Answered by rathormanju1980
0

Answer:

i hope this is right answer

Similar questions