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
What is nested structure?
PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM
5 Write an Algorithm to find the maximum and minimum items in a set of ānā element.
Explain how do you sort filenames in a directory?
What is the use of ?: Operator?
What is the condition that is applied with ?: Operator?
write a proram to reverse the string using switch case?
What are nested functions in c?
What is structure of c program?
Is it acceptable to declare/define a variable in a c header?
Why does notstrcat(string, "!");Work?
What is %s and %d in c?
hi folks i m approching for h1 b interview on monday 8th of august at montreal and i m having little problem in my approval notice abt my bithdate my employer has made a mistake while applying it is 12th january and istead of that he had done 18 the of january do any body have any solution for that if yes how can i prove my visa officer abt my real birthdate it urgent please let me know guys thaks dipesh patel
Why is event driven programming or procedural programming, better within specific scenario?
What is string length in c?