int main(void) { unsigned int a = 5; printf("%u",~a); return 0; }
int main(void) { unsigned int a = 5,b=1; while(b<a) b*=2; printf("%u",(~a)&(b-1)); return 0; }