answersLogoWhite

0

If you're using C, just check the low order bit. In binary, the low order bit of an odd number is 1, and the low order bit of an even number is 0.

User Avatar

Wiki User

15y ago

Still curious? Ask our experts.

Chat with our AI personalities

JordanJordan
Looking for a career mentor? I've seen my fair share of shake-ups.
Chat with Jordan
TaigaTaiga
Every great hero faces trials, and you—yes, YOU—are no exception!
Chat with Taiga
CoachCoach
Success isn't just about winning—it's about vision, patience, and playing the long game.
Chat with Coach

Add your answer:

Earn +20 pts
Q: What is logic to find the even and odd no without use of modulus and division?
Write your answer...
Submit
Still have questions?
magnify glass
imp