Order of evaluation of arguments using std::cout

前端 未结 5 1074
被撕碎了的回忆
被撕碎了的回忆 2020-11-22 13:26

Hi all I stumbled upon this piece of code today and I am confused as to what exactly happens and more particular in what order :

Code :

#include &l         


        
5条回答
  •  遥遥无期
    2020-11-22 13:48

    Order of evaluation is unspecified. It is not left-to-right, right-to-left, or anything else.

    Don't do this.

提交回复
热议问题