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...

find a number whether it is even or odd without using any
control structures and relational operators?

Answer Posted / om

void odd_even_check(int z)
{
(z&1)?printf("\nodd\n"):printf("\neven\n");
}

Is This Answer Correct ?    1 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is p in text message?

949


What do header files do?

1040


What is far pointer in c?

1254


Explain what is the difference between far and near ?

1063


What is difference between union All statement and Union?

1076


What is wrong in this statement? scanf(ā€œ%dā€,whatnumber);

1203


HOW TO SOLVE A NUMERICAL OF LRU IN OS ??????

2657


Between macros and functions,which is better to use and why?

2144


Explain enumerated types.

996


What is function what are the types of function?

964


what is the height of tree if leaf node is at level 3. please explain

2109


What are global variables?

1138


What tq means in chat?

1084


Process by which one bit pattern in to another by bit wise operation is?

1120


Write a program to print numbers from 1 to 100 without using loop in c?

1043