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 isnt there a numbered, multi-level break statement to break out
What is define c?
What is bubble sort in c?
What is static memory allocation?
How can I read a binary data file properly?
Why calloc is better than malloc?
What is hungarian notation? Is it worthwhile?
What does printf does?
What is the size of empty structure in c?
what are the facialities provided by you after the selection of the student.
What are dangling pointers in c?
What are c identifiers?
what are enumerations in C
What is variable declaration and definition in c?
What is a spanning Tree?