We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3202fed commit 8099be0Copy full SHA for 8099be0
src/divideTwoInt/divideTwoInt.cpp
@@ -30,7 +30,7 @@ int divide(int dividend, int divisor) {
30
}
31
32
long long bit_num[32];
33
- memset( bit_num, 0, sizeof(bit_num)/sizeof(bit_num[0]) );
+ memset( bit_num, 0, sizeof(bit_num) );
34
35
int i=0;
36
long long d = dvs;
0 commit comments