Loading...
Engaged Employer
write a programme to find number of bits set in an integer
Anonymous
int count_bits_set(int num) { int count =0; while(num) { num = num & (num-1); count++; } return count; }
Check out your Company Bowl for anonymous work chats.
Get actionable career advice tailored to you by joining more bowls.
Stay ahead in opportunities and insider tips by following your dream companies.
Get personalized job recommendations and updates by starting your searches.