Answer Posted / mahendiran
#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 ? | 1 Yes | 1 No |
Post New Answer View All Answers
Can you write the algorithm for Queue?
what value is returned to operating system after program execution?
How will you write a code for accessing the length of an array without assigning it to another variable?
Explain the red-black trees?
can we implement multi-threads in c.
How can I remove the trailing spaces from a string?
What is zero based addressing?
State the difference between x3 and x[3].
In C, What is the #line used for?
Can you please explain the difference between exit() and _exit() function?
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create.
Tell us bitwise shift operators?
Explain how does free() know explain how much memory to release?
When was c language developed?
What is a static function in c?