Friday, February 27, 2015

c language insterview questions 5

Write a program to display days in the given year. Check condition from leap year. A year is a leap
year if it is divisible by 4 but not by 100, except that years divisible by 400 are leap years.
a. Without using logical operators
b. Using logical operators
c. Conditional operators

No comments:

Post a Comment

python class topic video