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
What is the hardest programming language?
please explain every phase in the "SDLC" in the dotnet.
What is the difference between memcpy and memmove?
What are register variables in c?
Why isn't it being handled properly?
Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......
formula to convert 2500mmh2o into m3/hr
Tell me when would you use a pointer to a function?
What are the three constants used in c?
Not all reserved words are written in lowercase. TRUE or FALSE?
What happens if you free a pointer twice?
What are the advantages of c language?
What is a null string in c?
What is the difference between malloc() and calloc()?
What happens if a header file is included twice?