Determine Leap Year or Not using Macros: C Program
Satish B
https://technotip.com/8650/c-program-to-determine-leap-year-or-not-using-macros/
In this video tutorial lets learn how to determine user input year is a leap year or not, using Macros and nested ternary / conditional operator.
Leap Year Logic
If a year is century year(year ending with 00) and is perfectly divisible by 400, then it’s a leap year.
If a year is not a century year, and is perfectly divisible by 4, then it’s a 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=Du7YNk8GGDk
2020-08-31
0.0 LBC
Copyrighted (contact publisher)
9599839 Bytes