Leap year have an additional one day.This additional one day add in February month.We can check leap year in c language with the help of small algorithm.

Steps to check a leap year

  • When year divided by 400 then leap year.
  • When a year divided by 4 and not divided by 100 then leap year.

Algorithm to check leap year

Program to check a leap year

Source Code 1:


Source Code 2:


Source Code 3: