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
What do you understand by friend-functions? How are they used?
Is exit(status) truly equivalent to returning the same status from main?
Explain what is page thrashing?
What standard functions are available to manipulate strings?
Is Exception handling possible in c language?
What is C language ?
How can I split up a string into whitespace-separated fields?
Why do we use main function?
what do you mean by enumeration constant?
What is a floating point in c?
What are the 4 types of programming language?
If null and 0 are equivalent as null pointer constants, which should I use?
What are the different data types in C?
Wt are the Buses in C Language
Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......