I am wondering if x will ever reach zero in the following program.
Please consider:
int main ()
{
int x = 1;
while (x)
{
x <<= 1;
}
return 0;
}
Should the expected behavior of this program be exiting normally or looping forever?