write a c program to count number of 1s in the binary representation of an integer code example
Example: find no of 1's in a binary number
len(''.join(str(bin(122011)).split('0')))-1
len(''.join(str(bin(122011)).split('0')))-1