Answer Posted / k.naveen kumar
#include<stdio.h>
#include<conio.h>
main()
{
int a;
printf("Please enter the number :=> ");
scanf("%d",&a);
if (a%2==0)
printf("Even");
else
printf("odd");
getch();
}
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Is c call by value?
What is switch in c?
How do you construct an increment statement or decrement statement in C?
Write a program to generate random numbers in c?
What is the translation phases used in c language?
What is function what are the types of function?
What are the different types of pointers used in c language?
What is bin sh c?
Why is structure padding done in c?
What does nil mean in c?
Is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?
What are # preprocessor operator in c?
How can you tell whether two strings are the same?
How many types of arrays are there in c?
List the difference between a "copy constructor" and a "assignment operator"?