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 / taesung kim

(num & 1) ? (odd) : (even);

Is This Answer Correct ?    8 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do we make a global variable accessible across files? Explain the extern keyword?

1846


What is a program flowchart?

1139


What is modeling?

1007


What is declaration and definition in c?

1037


Is there any possibility to create customized header file with c programming language?

1017


Do variables need to be initialized?

1008


Explain what will the preprocessor do for a program?

1023


Which of these functions is safer to use : fgets(), gets()? Why?

1062


what is ur strangth & weekness

2353


What does the message "automatic aggregate intialization is an ansi feature" mean?

1153


What is variable and explain rules to declare variable in c?

1035


A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers

1142


int main() { Int n=20,i; For(i=0;i<=n;i--) { Printf(“-“); Return 0;

1749


What is nested structure with example?

1036


Can true be a variable name in c?

1006