+ 1

What will be the output of the following code.Give answer with explanation.

https://code.sololearn.com/csAXYAoi9aFQ/?ref=app

2nd Jan 2021, 8:06 AM
Akash Rai
4 Antworten
+ 3
Modifying a variable twice or trice in a single expression has no defined behavior.Have a look at this question in stackoverflow : https://stackoverflow.com/questions/340282/i-i-i-in-c
2nd Jan 2021, 8:29 AM
The future is now thanks to science
The future is now thanks to science - avatar
+ 3
The main question comes here why do you need to print something like this?
2nd Jan 2021, 8:37 AM
The future is now thanks to science
The future is now thanks to science - avatar
+ 1
The function arguments evaluation order is unspecified.
2nd Jan 2021, 8:29 AM
你知道規則,我也是
你知道規則,我也是 - avatar
+ 1
Zatch bell I just came across it somewhere and thought to post. anyways thank u for your explanation
2nd Jan 2021, 8:51 AM
Akash Rai