Update bit_manipulation/count_of_set_bits.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
Swastika Gupta 2021-07-08 09:25:32 +05:30 committed by GitHub
parent ac6ccfa717
commit 941ae67ea3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,6 @@ namespace bitCount {
* @param n is the number whose set bit will be counted
* @returns count , the number set bit in binary representation of n
*/
std::uint64_t countSetBits(int n) {
int count = 0; // "count" variable is used to count number of 1's in binary
// representation of the number