Check Odd or Even without using Modulus Operator in C

Check number is Odd or Even without using Modulus Operator in C

Here you will a new tricky method to check that the input number is Odd or Even without using Modulus Operator in C programming. The quick method to solve this problem, We can use bitwise & operator.

Program to Check Odd or Even without using Modulus Operator in C

Output

Enter a number : 15
Number is Odd

Enter a number : 8
Number is Even

 

 

 

Check out our other C programming Examples

 

 

 

 

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top