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 / venkata rao padala

#include<stdio.h>
#include<conio.h>
void main()
{
int n;
clrscr();
printf("\n enter the year");
scanf("%d",&n);
if(n%4)
{
printf("the year is leap year");
else
printf("not leap year);
}
getch();
}

Is This Answer Correct ?    2 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is struct oop?

1015


Give differences between - new and malloc() , delete and free() ?

1100


What is the difference between typedef and #define?

1065


What is void c?

1097


What is an array? What the different types of arrays in c?

1189


How we can insert comments in a c program?

1130


What is a node in c?

976


Explain which function in c can be used to append a string to another string?

1092


Which header file should you include if you are to develop a function which can accept variable number of arguments?

1406


What are the different types of errors?

1142


What are the different types of linkage exist in c?

1035


An integer that indentifies the position of a data item in a sequence of data items a) value b) number c) index d) all of the above

1219


What is a list in c?

1034


swap 2 numbers without using third variable?

1138


What is the function of this pointer?

1347