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

Was 2000 a leap year?

1062


What is the function of this pointer?

1354


A SIMPLE PROGRAM OF GRAPHICS AND THEIR OUTPUT I WANT SEE WAHAT OUTOUT OF GRAPHICS PROGRAM

2140


Write a program to swap two numbers without using the third variable?

1079


What does dm mean sexually?

1327


Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)

1286


What is use of pointer?

1097


Explain what are run-time errors?

1100


Tell me when is a void pointer used?

1188


How are structure passing and returning implemented?

1052


Explain how can I remove the trailing spaces from a string?

1058


How can you find out how much memory is available?

1074


Why we use void main in c?

1181


How the c program is executed?

1164


What are types of functions?

1048