Answer Posted / dwarika
#include<stdio.h>
#include<conio.h>
int main()
{
clrscr();
int a;
printf("enter the no");
scanf("%d",&a);
if(a%2==0)
{
printf("no is even");
}
else
{
printf("odd no");
}
getch();
return 0;
}
| Is This Answer Correct ? | 56 Yes | 6 No |
Post New Answer View All Answers
Why malloc is faster than calloc?
List some of the dynamic data structures in C?
Explain built-in function?
Can we increase size of array in c?
What is cohesion in c?
What is malloc return c?
Can you think of a logic behind the game minesweeper.
What does %c mean in c?
What is #line in c?
Write a program to implement a round robin scheduler and calculate the average waiting time.Arrival time, burst time, time quantum, and no. of processes should be the inputs.
How do you generate random numbers in C?
What is formal argument?
write a program to print the consecutive repeated character from the given string... input string is : hhhhjkutskkkkkggggj output should be like this: hhhhkkkkkgggg anyone help me...
How can you tell whether two strings are the same?
What is static and auto variables in c?