How to check if a number is even or odd without using % or / ?
Anonymous
perform bitwise AND of given number with 1 and check the last bit if it is zero then number is even and if it is 1 then number is odd
Check out your Company Bowl for anonymous work chats.