Загрузка...

How to Check Leap Year in C l (Hindi) | apnacoder420 @ApnaCoderDeepak @codingage.official

Welcome to apnacoder420 👨‍💻
In this video, we will learn how to write a C program to check whether a given year is a Leap Year or not using if-else statements.
This is one of the most important beginner-level programs in C language.

🔹 What is a Leap Year?
A Leap Year is a year that has 366 days instead of 365. February has 29 days in a leap year.
Rules to check Leap Year:
1. If a year is divisible by 400 → Leap Year ✅
2. If a year is divisible by 100 but not 400 → Not a Leap Year ❌
3. If a year is divisible by 4 but not 100 → Leap Year ✅

📌 In this video you will learn:
✔️ Logic behind Leap Year
✔️ Step-by-step C program using if-else
✔️ Sample Input/Output

💻 Code Used in Video:
@ApnaCoderDeepak @codingage.official @apnacoder-c

Видео How to Check Leap Year in C l (Hindi) | apnacoder420 @ApnaCoderDeepak @codingage.official канала Apna Coder
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять