0 votes 0 votes closed as a duplicate of: Undefined Behaviour in C output is a=34 and x=13 can anyone plzz explain #include <iostream> using namespace std; int main() { int x = 10, a; a = x++ + ++x + x++; cout << "Post Increment Operation"; cout << "\na = " << a; cout << "\nx = " << x; return 0; } Arun Rout asked May 30, 2019 • closed May 30, 2019 by ankitgupta.1729 Arun Rout 287 views comment Share Follow See all 0 reply Please log in or register to add a comment.