Write a c pgm for leap year
Answer Posted / vasile
int isLeap (int year)
{
if ((year % 4) || !(year % 100) && (year % 400))
return 0;
return 1;
}
| Is This Answer Correct ? | 26 Yes | 8 No |
Post New Answer View All Answers
Write a code of a general series where the next element is the sum of last k terms.
Can you apply link and association interchangeably?
What is a string?
Why is c still so popular?
Where does the name "C" come from, anyway?
i got 75% in all semester am i eligible for your company
writ a program to compare using strcmp VIVA and viva with its output.
Explain why c is faster than c++?
Is array name a pointer?
Why is %d used in c?
Write a program of advanced Fibonacci series.
I need a sort of an approximate strcmp routine?
What is your stream meaning?
the 'sizeof' operator reported a larger size than the calculated size for a structure type. What could be the reason?
What is #line in c?