Write a program to find the given number is odd or even
without using any loops(if,for,do,while)
Answer Posted / shiv kumar
(num/2==0)? printf("even"):printf("odd");
| Is This Answer Correct ? | 20 Yes | 7 No |
Post New Answer View All Answers
How can you find out how much memory is available?
What is methods in c?
which of the following statement is wrong a) mes=123.56; b) con='T'*'A'; c) this='T'*20; d) 3+a=b;
What is a pragma?
What are structural members?
Can you pass an entire structure to functions?
In c programming language, how many parameters can be passed to a function ?
difference between object file and executable file
What is a #include preprocessor?
#define PRINT(int) printf("int = %d ",int) main() {< BR> intx,y,z; x=03;y=02;z=01; PRINT(x^x); z<<=3;PRINT(x); y>>=3;PRINT(y); }
What is main return c?
What is double pointer?
Where is c used?
What are pointers? What are different types of pointers?
How many main () function we can have in a project?