2

Consider the following function:
unsigned test(unsigned x, unsigned factor, unsigned mask)
{
unsigned i=1;
while((i & mask) != x)
i*=factor;
return i;
}
Proving that in the absence of optimizations, the function would either return a value with no side effects, or not return at all, wo...