C program to find leap year

1. Online Compilers - Compile & Run your C/C++ programs:

✅ Online Compilers

2. Ask your questions or clarify your/others doubts from,

✅ Online Discussion Forums by Fresh2Refresh.com





C program example to find leap year:

What is leap year?

Leap year is a year which has 366 days. Leap year occurs once every 4 years.


How to find whether a year is leap year or not using a C program?

* A year which can be exactly divisable by 4 except century years is called leap year.

* Century year means the year which ends with 00. Century year also can be a leap year if it is exactly divisable by 400.


C program to find whether a given year is leap year or not:

 

1. Online Compilers - Compile & Run your C/C++ programs:

✅ Online Compilers

2. Ask your questions or clarify your/others doubts from,

✅ Online Discussion Forums by Fresh2Refresh.com





Share this website !!!
Facebook Twitter Linkedin