CodeSlayer007's blog

By CodeSlayer007, history, 5 years ago, In English
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

Full text and comments »

  • Vote: I like it
  • +11
  • Vote: I do not like it