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
Are pointers really faster than arrays?
Can we compile a program without main() function?
Explain what is wrong with this program statement?
what is the c source code for the below output? 10 10 10 10 10 10 10 10 10 10 9 9 7 6 6 6 6 6 6 9 7 5 9 7 3 2 2 5 9 7 3 1 5 9 7 3 5 9 7 4 4 4 4 5 9 7 8 8 8 8 8 8 8 8 9
Is c still used?
write a program to create a sparse matrix using dynamic memory allocation.
Write a Program to find whether the given number or string is palindrome.
What are the advantages of Macro over function?
How can I avoid the abort, retry, fail messages?
Explain how do you list a file’s date and time?
hi send me sample aptitude papers of cts?
Can a file other than a .h file be included with #include?
How to get string length of given string in c?
Are pointers integers in c?
What is the use of define in c?