theVoidOne
Solid State Member
- Messages
- 19
im working in c and this is what i have to do:
1. int bit_and(int a, int b):
Allowed operators: + | ~ ^ << ! >>
This function should return the bitwise AND of the a and b parameters (a & b).
i dont really understand the difference between bitwise and int, isnt int just a form of bitwise? can u enlighten me on this? and if u can do this function for me, that would great
1. int bit_and(int a, int b):
Allowed operators: + | ~ ^ << ! >>
This function should return the bitwise AND of the a and b parameters (a & b).
i dont really understand the difference between bitwise and int, isnt int just a form of bitwise? can u enlighten me on this? and if u can do this function for me, that would great