Szia ! >>> BOOL b = ( X & ( X-1 ) ); (x az unsigned int) > Nem, nem jol ertelmezed. 'b' erteke akkor lesz TRUE, ha X nem ketto hatvany. Nyert. Köszi.