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
What is p in text message?
What do header files do?
What is far pointer in c?
Explain what is the difference between far and near ?
What is difference between union All statement and Union?
What is wrong in this statement? scanf(ā%dā,whatnumber);
HOW TO SOLVE A NUMERICAL OF LRU IN OS ??????
Between macros and functions,which is better to use and why?
Explain enumerated types.
What is function what are the types of function?
what is the height of tree if leaf node is at level 3. please explain
What are global variables?
What tq means in chat?
Process by which one bit pattern in to another by bit wise operation is?
Write a program to print numbers from 1 to 100 without using loop in c?