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
What is the package for freshers(Non IIT) in amazon(hyderabad). And what is the same for those who are a contract employee.
What is the purpose of 'register' keyword?
Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?
In a switch statement, what will happen if a break statement is omitted?
What is the c value paradox and how is it explained?
Why c is a procedural language?
How many levels of pointers can you have?
Which function in C can be used to append a string to another string?
How can I use a preprocessorif expression to ?
If a variable is a pointer to a structure, then which operator is used to access data members of the structure through the pointer variable?
What would happen to X in this expression: X += 15; (assuming the value of X is 5)
Can a pointer point to null?
Is it better to use malloc() or calloc()?
what is the c source code for the below output? 10 10 10 10 10 10 10 10 10 10 9 9 7 6 6 6 6 6 6 9 7 5 9 7 3 2 2 5 9 7 3 1 5 9 7 3 5 9 7 4 4 4 4 5 9 7 8 8 8 8 8 8 8 8 9
What is main function in c?