int i,j;
i = j = 5;
j = i++ + (i*10);
cout<<i<<" "<< j <<" "<<i++;The above code is giving two different output in C++14 and C++17.Can anyone explain why?? In c++14 its showing 7 65 6 In C++17 its showing 6 65 6
C++ 14 vs C++ 17
int i,j;
i = j = 5;
j = i++ + (i*10);
cout<<i<<" "<< j <<" "<<i++;The above code is giving two different output in C++14 and C++17.Can anyone explain why?? In c++14 its showing 7 65 6 In C++17 its showing 6 65 6