Answer Posted / nirdesh pal
#include<stdio.h>
#include<conio.h>
void main()
{
int i;
printf("enter the number");
scanf("%d",&i);
if(i%2==0)
{
printf("number is even");
else
printf("number is odd");
}
getch();
}
Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
How to throw some light on the b tree?
Why we not create function inside function.
What is cohesion in c?
What is use of integral promotions in c?
Is c pass by value or reference?
What is the use of gets and puts?
What is c variable?
What is typedef example?
Does sprintf put null character?
What is modeling?
What is character set?
#define MAX(x,y) (x) >(y)?(x):(y) main() { inti=10,j=5,k=0; k= MAX(i++,++j); printf("%d..%d..%d",i,j,k); }
How is null defined in c?
What is New modifiers?
What is a structure member in c?