Posts by nii • 41 points
1 post
-
3
votes3
answers1007
viewsQ: Parity test in C
I’m having trouble creating a function that returns 0 if the number of bits set in an unsigned char is even and 1 if it is odd
1 post
3
votes3
answers1007
viewsI’m having trouble creating a function that returns 0 if the number of bits set in an unsigned char is even and 1 if it is odd