answersLogoWhite

0

bool is_even(long int num)

{

return !(num & 1); //when the number is even(divisible by two),

//its least significant bit is 0

}

User Avatar

Wiki User

8y ago

Still curious? Ask our experts.

Chat with our AI personalities

CoachCoach
Success isn't just about winning—it's about vision, patience, and playing the long game.
Chat with Coach
MaxineMaxine
I respect you enough to keep it real.
Chat with Maxine
ReneRene
Change my mind. I dare you.
Chat with Rene

Add your answer:

Earn +20 pts
Q: Even number program
Write your answer...
Submit
Still have questions?
magnify glass
imp