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
‘SAVEPOINT’ and ‘ROLLBACK’ is used in oracle database to secure the data comment. Give suitable examples of each with sql command.
What is the use of static variable in c?
Write a program in "C" to calculate the root of a quadratic equation ax^2+bx+c=0, where the value of a,b & c are known.
Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon
GIven a sequence of characters. How will you convert the lower case characters to upper case characters. ( Try using bit vector - sol given in the C lib -> typec.h)
how to construct a simulator keeping the logical boolean gates in c
What are header files in c?
What is the importance of c in your views?
How do you list a file’s date and time?
What does %p mean?
WRITE A PROGRAM TO MERGE TWO SORTED ARRAY USING MERGE SORT TECHNIQUE..
What is the difference between arrays and pointers?
What are the types of data structures in c?
What is unary operator?
What is an identifier?