Write a program to find the given number is odd or even
without using any loops(if,for,do,while)
Answer Posted / shiv kumar
(num/2==0)? printf("even"):printf("odd");
| Is This Answer Correct ? | 20 Yes | 7 No |
Post New Answer View All Answers
Why isnt any of this standardized in c?
What is an operator?
What are c preprocessors?
What is the difference between arrays and pointers?
can anyone please tell about the nested interrupts?
Mention four important string handling functions in c languages .
Is stack a keyword in c?
How can I ensure that integer arithmetic doesnt overflow?
What is the maximum length of an identifier?
What is getche() function?
What is the purpose of scanf() and printf() functions?
What are the features of c languages?
What are the keywords in c?
What are local static variables? How can you use them?
Describe the order of precedence with regards to operators in C.