Answer Posted / pratikjis@yahoo.com
#include "stdio.h"
#include "conio.h"
void main()
{
int i;
clrscr();
printf("Enter the number");
scanf("%d", &i);
if(i%2==0)
{
printf("the number is even %d", i);
}
else
{
printf("The number is odd %d", i);
}
getch();
}
| Is This Answer Correct ? | 36 Yes | 19 No |
Post New Answer View All Answers
Explain the advantages and disadvantages of macros.
Do you know what are the properties of union in c?
What is a void pointer? When is a void pointer used?
What are the different types of errors?
Describe the modifier in c?
illustrate the use of address operator and dereferencing operator with the help of a program guys plzzz help for this question
What are the types of macro formats?
Is main is user defined function?
Explain how do you sort filenames in a directory?
What is the general form of function in c?
What is the difference between functions abs() and fabs()?
What is the difference between functions getch() and getche()?
Disadvantages of C language.
What is the use of a ‘ ’ character?
pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)