Below is code in C language to check whether the number to be checked is even or odd.
This source code can be used to check whether the input number is even or odd. This is the simplest c program to perform the given even odd task.
Case 1: Enter an integer : 34 34 is an even integer Case 2: Enter an integer : 25 25 is an odd integer Case 3: Enter an integer : 0 0 is an even integer
Similarly, you can check any integer whether it is even or odd.