adspace


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


Please Help Members By Posting Answers For Below Questions

List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.

2836


PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM

2269


What are compound statements?

1301


will u please send me the placement papers to my mail???????????????????

1939


The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?

1364


How do you determine the length of a string value that was stored in a variable?

1209


ATM machine and railway reservation class/object diagram

5344


What is the general form of a C program?

1107


How do you convert strings to numbers in C?

1351


How can I implement sets or arrays of bits?

1129


can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......

2019


Is int a keyword in c?

1067


What are pointers? What are different types of pointers?

1276


Differentiate between null and void pointers.

1270


write a program to find out prime number using sieve case?

2182