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
What is the difference between the = symbol and == symbol?
Function calling procedures? and their differences? Why should one go for Call by Reference?
What are the Advantages of using macro
Is a pointer a kind of array?
Which is best book for data structures in c?
What is c programing language?
What is wild pointer in c with example?
What is strcmp in c?
What is an example of structure?
What is getch () for?
Why do we need arrays in c?
please explain every phase in the "SDLC" in the dotnet.
Which operators cannot be overloaded a) Sizeof b) .* c) :: d) all of the above
What is difference between function overloading and operator overloading?
Can we access array using pointer in c language?