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 to find the given number is odd or even
without using any loops(if,for,do,while)

Answer Posted / shiv kumar

(num/2==0)? printf("even"):printf("odd");

Is This Answer Correct ?    20 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why isnt any of this standardized in c?

1125


What is an operator?

1124


What are c preprocessors?

1241


What is the difference between arrays and pointers?

1174


can anyone please tell about the nested interrupts?

2183


Mention four important string handling functions in c languages .

1155


Is stack a keyword in c?

1147


How can I ensure that integer arithmetic doesnt overflow?

1253


What is the maximum length of an identifier?

1231


What is getche() function?

1088


What is the purpose of scanf() and printf() functions?

1298


What are the features of c languages?

1140


What are the keywords in c?

1172


What are local static variables? How can you use them?

1199


Describe the order of precedence with regards to operators in C.

1100