Re:Which one will execute faster, if(flag==0) or if(0==flag)?
by zokier on Friday January 07, 2011 @11:44PM
(#2082248)
In C++ flag==0 and !flag are not always the same, but depending on the type of flag, and if that type(or any its parents) has either or both of == or ! operators overloaded.
[ Parent
| on HN ]
There are no comments on this comment yet.