Answer Posted / sameer.chaudhari
main()
{
int num;
printf("Plz enter the number :=> ");
scanf("%d",&num);
if (num & 1)
printf("odd");
else
printf("even");
getch();
}
| Is This Answer Correct ? | 22 Yes | 43 No |
Post New Answer View All Answers
What kind of structure is a house?
What is a char c?
Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)
Why does not c have an exponentiation operator?
Write a program which returns the first non repetitive character in the string?
Which is the best website to learn c programming?
What's the total generic pointer type?
What is difference between class and structure?
Why is it important to memset a variable, immediately after allocating memory to it ?
What is the difference between printf and scanf in c?
How is pointer initialized in c?
What are the advantages of Macro over function?
What is echo in c programming?
Calculate the weighted average of a list of n numbers using the formula xavg = f1x1+f2x2+ ….+ fnxn where the f’s are fractional weighting factors, i.e., 0<=fi<1, and f1+f2+….+fn = 1
to find the closest pair