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 pro-gramme to determine whether the number is even or odd?



Write a pro-gramme to determine whether the number is even or odd?..

Answer / azad sable, chiplun

void main();
{
int n;
clrscr();
printf("enter any number");
scanf("%d",&n);
if(n%2==0)
printf("\nthe number is even");
else
printf("\nthe number is odd");
}
getch();
}

Is This Answer Correct ?    5 Yes 0 No

Post New Answer

More C Interview Questions

how to estimate the disk access time? e.g. the time between read one byte and another byte in the disk.

3 Answers   Google,


Write a C program to perform some of the operation which can be performed using Single linked list

1 Answers   Qualcomm,


What are the advantages of using Unions?

0 Answers   IBS,


Explain data types & how many data types supported by c?

0 Answers  


How Many Header Files in c?

2 Answers   TCS,


Why is structure important for a child?

0 Answers  


How can my program discover the complete pathname to the executable from which it was invoked?

0 Answers  


What are the advantages of using linked list for tree construction?

0 Answers  


Explain why c is faster than c++?

0 Answers  


A B C D E F G F E D C B A A B C D E F F E D C B A A B C D E E D C B A A B C D D C B A A B C C B A A B B A A A

2 Answers  


write a program of palindrome(madam=madam) using pointer?

5 Answers   L&T,


how to execute with out main in cprogram

15 Answers   Infosys,


Categories