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
Explain b+ tree?
How can you convert integers to binary or hexadecimal?
Why c is called procedure oriented language?
How can I manipulate strings of multibyte characters?
Which header file should you include if you are to develop a function which can accept variable number of arguments?
What is auto keyword in c?
What is the usage of the pointer in c?
Why do we use int main instead of void main in c?
Declare the structure which contains the following members and write in C list of all students who score more than 75 marks. Roll No, Name, Father Name, Age, City, Marks.
Explain the use of bit fieild.
What is sizeof array in c?
count = 0; for (i = 1;i < = 10; i++);count = count + i; Value of count after execution of the above statements will be a) 0 b) 11 c) 55 d) array
What are the types of type qualifiers in c?
Explain goto?
Can you define which header file to include at compile time?