Implement a program to find whether a number is even or odd without using arithemetic operator
Anónimo
This can be solved by checking the last bit of the number. if it is 0 then even else odd. So, if number is n. You can do n&1 and then check whether this number is 0 or not.