- 1

Hi class. Please tell me what is the correct output for this:

int x = 9; x += ++x; Do all languages or platform Will give exactly the same result? Thank you.

18th Nov 2022, 11:55 PM
Oliver Pasaribu
Oliver Pasaribu - avatar
1 Odpowiedź
+ 3
Why don't you try? It is not complicated to test in all 3 languages, even on Sololearn you can do it.
19th Nov 2022, 7:45 AM
Tibor Santa
Tibor Santa - avatar