what is the value of y. if int x=5; y=x++*++x;
Answers
Answered by
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
0
Answer:
i hope this is right answer
Similar questions
Biology,
2 months ago
Science,
2 months ago
English,
2 months ago
Social Sciences,
4 months ago
English,
4 months ago
Social Sciences,
10 months ago
Chemistry,
10 months ago
Math,
10 months ago