Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1
The result will be different because of the architecture of Compiler. * If left to right then output= 122 * If right to left then output= 331 ● Some compilers starts executing from left to right & some from right to left. Tip : It is recommended to write these types of codes in a separate line. ------------------------------------------- * For deeper understanding you can search on google "Undefined behaviour in C/C++".
25th Jun 2018, 12:53 PM
Rahul Sahani
Rahul Sahani - avatar