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 program for even numbers?

Answer Posted / sameer.chaudhari

main()
{
int num;

printf("Plz enter the number :=> ");
scanf("%d",&num);

if (!(num & 1))
printf("Even");

getch();
}

Is This Answer Correct ?    41 Yes 33 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What standard functions are available to manipulate strings?

1207


What is the advantage of using #define to declare a constant?

1156


Explain the difference between null pointer and void pointer.

1133


program for reversing a selected line word by word when multiple lines are given without using strrev

2535


Are enumerations really portable?

1079


Why do we use null pointer?

1113


1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. The Logic should be written in Data Structures?

2522


Difference between linking and loading?

1155


What is the difference between new and malloc functions?

1181


Why c is called object oriented language?

1113


c programs are converted into machine language with the help of a) an interpreter b) a compiler c) an operatinf system d) none of the above

1320


What is define directive?

1214


Explain how does flowchart help in writing a program?

1168


Explain the difference between structs and unions in c?

1066


what is ur strangth & weekness

2525