Playing with bits


why the while loop is running infinitely ?

@nirupama1,
Updated Code, here