will be helpful for those in need Whether to use something like if (a == 5) or if (5 == a) is largely a matter of style. The C standard doesn't say anything regarding the recommended usage of conditionals. While the latter (often referred to as "Yoda Conditionals") does in fact guard against mistakenly using = instead of == (and is exactly what the code review comment you mentioned is talking about), however this style is not a easy to read.
I think the issue was by ths following , I am programing in C++ and I defined a variable as a macro, and I want to return a value from a function using the macro. , Macros are replaced. So in the end you'll get