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
The number of bytes of storage occupied by short, int and long are a) 2, 2 and 4 b) 2, 4 and 4 c) 4, 4 and 4 d) none
what are the facialities provided by you after the selection of the student.
How will you find a duplicate number in a array without negating the nos ?
why use functions a) writing functions avoids rewriting the same code over and over b) using functions it becomes easier to write programs and keep track of what they are doing c) a & b d) none of the above
What are the advantages of the functions?
Are bit fields portable?
What is the difference between the local variable and global variable in c?
Explain what is the benefit of using an enum rather than a #define constant?
When is a null pointer used?
What is the difference between far and near in c?
Is boolean a datatype in c?
Why is c called a mid-level programming language?
What are the advantages and disadvantages of a heap?
Explain how do you determine the length of a string value that was stored in a variable?
What is #include called?