C++ 14 vs C++ 17

Правка en1, от CodeSlayer007, 2020-04-16 20:51:34
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

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский CodeSlayer007 2020-04-16 20:51:34 266 Initial revision (published)