Answer Posted / sumon
#include<stdio.h>
int main()
{
int a;
scanf("%d",&a);
if(a%2==0)
{
printf("a is even number");
else
printf("a is odd number");
}
return o;
}
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Simplify the program segment if X = B then C ← true else C ← false
Are c and c++ the same?
What is a built-in function in C?
What is the benefit of using #define to declare a constant?
write a program to rearrange the array such way that all even elements should come first and next come odd
Explain which function in c can be used to append a string to another string?
What are conditional operators in C?
Is a pointer a kind of array?
Why clrscr is used in c?
What is register variable in c language?
What will be your course of action for a push operation?
What is an array? What the different types of arrays in c?
How do you sort filenames in a directory?
What does typedef struct mean?
What is type qualifiers?