If result returns integer it's ok. If it returns a Long you are in trouble usually as then it has to compare with 0L unsigned long or 64 bits unsigned: 0ULL On Fri, 1 Jan 2016, user user wrote: > Hi ! help please > if((result=f())==0) > is Undefined behavior ? >