Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

What is fflush() function?

1077


How does free() know explain how much memory to release?

1011


any limit on the number of functions that might be present in a C program a) max 35 functions b) max 50 functions c) no limit d) none of the above

981


What is the difference between typedef struct and struct?

1063


How is a null pointer different from a dangling pointer?

973


What is #line?

1004


Hai,I have done with my bachelor of commerce and planing to ms,please suggest me how to convince vo for shifting from commerce to computers. Visa on 8 DEC 2014  Npu university

2003


How can type-insensitive macros be created?

1126


Describe newline escape sequence with a sample program?

1068


void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }

1666


Can a program have two main functions?

1059


What is oops c?

1115


Explain setjmp()?

1007


Write a program to print fibonacci series without using recursion?

1064


what are the 10 different models of writing an addition program in C language?

1840