🎄T
y = (x--) + (x--);
cout << x;
Size: a a a
🎄T
T
NK
T
🎄T
К
NK
К
🎄T
cpp_clang
#include <iostream>
using namespace std;
int main() {
int x = 0;
int y = (x--) + (x--);
cout << x;
}
source_file.cpp:7:15: warning: multiple unsequenced modifications to 'x' [-Wunsequenced]
int y = (x--) + (x--);
^ ~~
source_file.cpp:7:9: warning: unused variable 'y' [-Wunused-variable]
int y = (x--) + (x--);
^
2 warnings generated.
-2
T
cpp_clang
#include <iostream>
using namespace std;
int main() {
int x = 0;
int y = (x--) + (x--);
cout << x;
}
source_file.cpp:7:15: warning: multiple unsequenced modifications to 'x' [-Wunsequenced]
int y = (x--) + (x--);
^ ~~
source_file.cpp:7:9: warning: unused variable 'y' [-Wunused-variable]
int y = (x--) + (x--);
^
2 warnings generated.
-2
T
К
К
🎄T
T
T
T