This C program takes an year as input and finds out whether it is a leap year or not. The condition for a year to be leap year is
- A leap year is exactly divisible by 4 except for years ending with 00 (century years).
- A century year is a leap year if it is exactly divisible by 400.
Example of leap years: 1980, 1984, 1988, 1992, 1996, 2000