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
How do we make a global variable accessible across files? Explain the extern keyword?
What is a program flowchart?
What is modeling?
What is declaration and definition in c?
Is there any possibility to create customized header file with c programming language?
Do variables need to be initialized?
Explain what will the preprocessor do for a program?
Which of these functions is safer to use : fgets(), gets()? Why?
what is ur strangth & weekness
What does the message "automatic aggregate intialization is an ansi feature" mean?
What is variable and explain rules to declare variable in c?
A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers
int main() { Int n=20,i; For(i=0;i<=n;i--) { Printf(“-“); Return 0;
What is nested structure with example?
Can true be a variable name in c?