Write a C program to check a number even or odd, without using
any relational, arithmetic operator and any loops.
Answer Posted / geniuineprogrammer
u can use bitwise operator
if (no & 1) {
its odd
}
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
Write a c program to demonstrate character and string constants?
ATM machine and railway reservation class/object diagram
printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions
what is event driven software and what is procedural driven software?
What is infinite loop?
How can I find out how much free space is available on disk?
write a c program to find the sum of five entered numbers using an array named number
Which is the memory area not included in C program? give the reason
What are linker error?
Write a program of prime number using recursion.
What is sizeof array?
What is pivot in c?
Where define directive used?
What is the hardest programming language?
What is sizeof int?