Computer Science, asked by nagamohini77, 19 days ago

5 * ++x ⇒ 5 * 6 ⇒ 30 How it was ? Prove it​

Answers

Answered by tanshi266
0

Acc. to the question,

x=5,

++x means increasing the value of x by 1

i.e. x + 1,

5 + 1 = 6,

so,

5 * ++x means 5 * 6

And as you know 5 * 6 gives 30.

Hope it helps:)

Similar questions