Write a program to find the given number is odd or even
without using any loops(if,for,do,while)
Answer Posted / taesung kim
(num & 1) ? (odd) : (even);
| Is This Answer Correct ? | 8 Yes | 11 No |
Post New Answer View All Answers
Explain what is the difference between null and nul?
How can you increase the size of a dynamically allocated array?
What are the 4 types of programming language?
What is a pointer variable in c language?
how to solve "unable to open stdio.h and conio.h header files in windows 7 by using Dos-box software
Are there constructors in c?
What does typedef struct mean?
What are the different properties of variable number of arguments?
write a program fibonacci series and palindrome program in c
What is pointer to pointer in c?
In a byte, what is the maximum decimal number that you can accommodate?
What do you mean by scope of a variable in c?
Does c have function or method?
Is there any possibility to create customized header file with c programming language?
Explain Function Pointer?