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
what do you mean by inline function in C?
What is break statement?
What is this pointer in c plus plus?
What is Dynamic memory allocation in C? Name the dynamic allocation functions.
What is a memory leak? How to avoid it?
What is typedef?
What is pass by reference in functions?
What is the explanation for the dangling pointer in c?
Explain what is the benefit of using an enum rather than a #define constant?
Write a Program to accept different goods with the number, price and date of purchase and display them
What is string constants?
What is call by reference in functions?
What are the basic data types associated with c?
How to declare pointer variables?
Explain main function in c?