Answers for "built in bit 1 count c++"

C++
0

count bit 1 c++

returns the number of set bits in a integer.
cout<< __builtin_popcount (11); //1011
//Ouput: 3
Posted by: Guest on May-10-2021

Browse Popular Code Answers by Language