Interview question: Which one will execute faster, if (flag==0) or if (0==flag)? Why?
if (flag==0)
if (0==flag)
Surely no difference in terms of execution speeds. The condition needs to be evaluated in both cases in the same way.