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

What is the hardest programming language?

1212


please explain every phase in the "SDLC" in the dotnet.

2667


What is the difference between memcpy and memmove?

1084


What are register variables in c?

1047


Why isn't it being handled properly?

1116


Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......

2233


formula to convert 2500mmh2o into m3/hr

1049


Tell me when would you use a pointer to a function?

1118


What are the three constants used in c?

1040


Not all reserved words are written in lowercase. TRUE or FALSE?

1276


What happens if you free a pointer twice?

1134


What are the advantages of c language?

1148


What is a null string in c?

1102


What is the difference between malloc() and calloc()?

1971


What happens if a header file is included twice?

1076