Write a c pgm for leap year
Answer Posted / s.gayathri
void main()
{
int a,y;
clrscr();
printf("enter the year");
scanf("%d",y);
a=y%4;
if(a==1);
printf("leep year");
Is This Answer Correct ? | 8 Yes | 19 No |
Post New Answer View All Answers
Can include files be nested? How many levels deep can include files be nested?
What is anagram in c?
Why cant I open a file by its explicit path?
What is the best way to store flag values in a program?
Why main is used in c?
How to write c functions that modify head pointer of a linked list?
Tell us the use of fflush() function in c language?
Is Exception handling possible in c language?
1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. 2) the Event Manager has to send participants to the stage to perform in the order in which they registered. Write a program that will help the Event Manager know who to call to the stage to perform. The Logic should be in Data Structures
What is the difference between arrays and pointers?
What is a nested formula?
What is the auto keyword good for?
Are there any problems with performing mathematical operations on different variable types?
Write a c program to demonstrate character and string constants?
Write a C++ program to generate 10 integer numbers between - 1000 and 1000, then store the summation of the odd positive numbers in variable call it sum_pos, then find the maximum digit in this variable regardless of its digits length.