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 a c token and types of c tokens?
What is a MAC Address?
Compare interpreters and compilers.
If fflush wont work, what can I use to flush input?
What is a structure member in c?
.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }
What is the 'named constructor idiom'?
What is the difference between local variable and global variable in c?
Why do we use stdio h and conio h?
Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?
how to construct a simulator keeping the logical boolean gates in c
void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }
can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......
Explain what does a function declared as pascal do differently?
how logic is used