C Program To Check Leap Year or Not using Function
Satish B
https://technotip.com/7736/c-program-to-check-leap-year-or-not-using-function/
Any year is entered through the keyboard. Write a function to determine whether the year is a leap year or not.
Logic To Find Leap Year or Not: Using Function If user entered year is a century year(year ending with 00) and the year is perfectly divisible by 400, then it's a leap year.
If the user entered year is not a century year and the year is perfectly divisible by 4, then its a leap year orelse it's not a leap year.
In our function, we return true if the user entered year is leap year and return false if the user entered year is not leap year.
C Programming Interview / Viva Q&A List https://technotip.com/6378/c-programming-interview-viva-qa-list/
C Programming: Beginner To Advance To Expert https://technotip.com/6086/c-programming-beginner-to-advance-to-expert/ ... https://www.youtube.com/watch?v=bFYhQJHXWlU
6600861 Bytes