Sollicitatievraag bij PayPal

Implement function that Revert the bits within unsigned int, using bit opperation

Antwoord op sollicitatievraag

Anoniem

29 mei 2012

unsigned int rev_bits(unsigned int n) { unsigned int res=0; int length = sizeof(unsigned int)*8; for(int i=0; i>=1; } return res; }