write a c program to print a given number as odd or even
without using loop statements,(no if ,while etc)
Answer Posted / vignesh1988i
sorry , just change printf() as.... printf("0 - even number \t 1 - odd number \n ");
thank u
| Is This Answer Correct ? | 12 Yes | 19 No |
Post New Answer View All Answers
how to find binary of number?
How can I invoke another program or command and trap its output?
Write a program that takes a 5 digit number and calculates 2 power that number and prints it(should not use big integers and exponential functions)
What language is c written?
How many bytes are occupied by near, far and huge pointers (dos)?
can anyone please tell about the nested interrupts?
What is string function c?
How can I write data files which can be read on other machines with different word size, byte order, or floating point formats?
What is the best way of making my program efficient?
Write a program to input the price of 1 burger and the number of burgers eaten by a group of friends .print the total amount to be paid by the group?
Is c procedural or object oriented?
will u please send me the placement papers to my mail???????????????????
What does *p++ do?
What is the difference between text and binary i/o?
Explain how can you determine the size of an allocated portion of memory?