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
Why we use conio h in c?
How to delete a node from linked list w/o using collectons?
What could possibly be the problem if a valid function name such as tolower() is being reported by the C compiler as undefined?
What are the benefits of c language?
What is static memory allocation?
Why do we use stdio h and conio h?
Is this program statement valid? INT = 10.50;
What is c variable?
What does 2n 4c mean?
Should a function contain a return statement if it does not return a value?
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?
Write a c program to build a heap method using Pointer to function and pointer to structure ?
given post order,in order construct the corresponding binary tree
What are the 5 organizational structures?
Tell me what are bitwise shift operators?