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 c program to print a given number as odd or even
without using loop statements,(no if ,while etc)

Answer Posted / taesung kim

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

Is This Answer Correct ?    5 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why we use conio h in c?

1154


How to delete a node from linked list w/o using collectons?

2720


What could possibly be the problem if a valid function name such as tolower() is being reported by the C compiler as undefined?

1226


What are the benefits of c language?

1107


What is static memory allocation?

1096


Why do we use stdio h and conio h?

1031


Is this program statement valid? INT = 10.50;

1081


What is c variable?

996


What does 2n 4c mean?

1181


Should a function contain a return statement if it does not return a value?

1012


How to write a program for machine which is connected with server for that server automatically wants to catch the time for user of that machine?

2038


Write a c program to build a heap method using Pointer to function and pointer to structure ?

4621


given post order,in order construct the corresponding binary tree

2723


What are the 5 organizational structures?

970


Tell me what are bitwise shift operators?

1090