+ 1

Output of C++ code

Can someone explain this C++ code? https://code.sololearn.com/cmeY8bzKwWHs/#cpp

14th Oct 2020, 4:48 PM
Edward Finkelstein
Edward Finkelstein - avatar
3 odpowiedzi
+ 1
It's the behaviour of comma operator. http://www.c4learn.com/c-programming/c-comma-operator/
14th Oct 2020, 5:40 PM
Ipang
+ 1
thank you blackwinter!
14th Oct 2020, 6:22 PM
Edward Finkelstein
Edward Finkelstein - avatar
0
It is just a bug in c++
15th Oct 2020, 4:00 AM
Aditya rout
Aditya rout - avatar