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 / 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


Please Help Members By Posting Answers For Below Questions

Is there any data type in c with variable size?

1099


Why header file is used in c?

1095


formula to convert 2500mmh2o into m3/hr

997


How to write a code for reverse of string without using string functions?

2145


What are void pointers in c?

997


What is the best organizational structure?

1123


Under what circumstances does a name clash occur?

1200


Are pointers integers in c?

1075


please explain every phase in the "SDLC" in the dotnet.

2619


to print the salary of an employee according to follwing calculation: Allowances:HRA-20% of BASIC,DA-45% of BASIC,TA-10%. Deductions:EPF-8% of BASIC,LIC-Rs.200/-Prof.Tax:Rs.200/- create c language program?

2180


#include #include struct stu { int i; char j; }; union uni { int i; char j; }; void main() { int j,k; clrscr(); struct stu s; j=sizeof(s); printf("%d",j); union uni u; k=sizeof(u); printf("%d",k); getch(); } what is value of j and k.

6307


What is c value paradox explain?

1091


What is the most efficient way to count the number of bits which are set in an integer?

1053


What are preprocessor directives in c?

1102


What is cohesion and coupling in c?

1031