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
What is an endless loop?
The postoder traversal is 7,14,3,55,22,5,17 Then ur Inorder traversal is??? please help me on this
write a program to input 10 strings and compare without using strcmp() function. If the character of one string matches with the characters of another string , sort them and make it a single string ??? example:- str1="Aakash" st2="Himanshu" str="Uday" output:- Aakashimanshuday (please post the answer as quickly as possible)
How can you access memory located at a certain address?
Why void is used in c?
What is an identifier?
what are the 10 different models of writing an addition program in C language?
Explain how do you determine a file’s attributes?
if p is a string contained in a string?
how to print electricity bill according to following charges first 100 units -1rs per unit for next 200 units-1.50 rs per unit without using conditions
Write a c program to build a heap method using Pointer to function and pointer to structure ?
All technical questions
Apart from dennis ritchie who the other person who contributed in design of c language.
Write a c program to demonstrate character and string constants?
What is the mean of function?