Watch and track your favorite playlist.
Curated by: Anurag Affection (122 videos)
161 Check if a number is odd or even condition -- you have to use bit manipulation -- you don't have to use arithmetic operator example -- 9 = odd -- 8 = even patterns -- 8 & 1 = 0 -- 6 & 1 = 0 -- even & 1 = 0 -- 7 & 1 = 1 -- 9 & 1 = 1 -- odd & 1 = 1