# Check Even and Odd Number C Program

By | October 2, 2015

## C Program To Check Even and Odd Number

Learn How To Check Even and Odd Number in C Programming Language. This C program for finding Even and Odd Integers accepts a Number from the User and then checks if the Number is Even or Odd. The Modulus Operator is primarily used to identify whether the Entered Number is Even or Odd.

#### What is an Even Number?

If a Number or an Integer is Divisible by 2, then it is an Even Number. We can check it in C Code using the condition: num%2==0

#### What is an Odd Number?

If a Number or an Integer is not Divisible by 2, then it is an Odd Number. We can check it in C Code using the condition: num%2!=0

Must Read: C Program To Find Simple Interest using Functions

#### Find Even and Odd Number in C Programming without Function

[crayon-5c0d9831475b5169577767/]

Must Read: C Program To Check if Entered Character is Alphabet or Digit

#### C Program To Check Even and Odd Number using Function

[crayon-5c0d9831475bf657748605/]

Must Read: C Program To Check Smallest Digit in an Integer

#### C Program To Find Even or Odd Numbers using Conditional Operators or Ternary Operators

[crayon-5c0d9831475c3141442299/]

Must Read: C Program To Calculate Age of Any Person

#### Output

In case you get any Compilation Errors or any doubts in this C Program To Check Even and Odd Number, let us know about it in the Comment Section below.

## 2 thoughts on “Check Even and Odd Number C Program”

1. Vishal Narang

So many methods for finding Even and Odd Numbers!!! Mind blowing! Thank you so much for making my basics so clear.

2. Pankaj Dhende

The even and odd number checking c prpgram using ternary operators is really good. Thanks for that
Cheers.