Write a program to find the given number is odd or even
without using any loops(if,for,do,while)
Answer Posted / kiran
main()
{
int n;
printf("enter the number");
scanf("%d",&n);
n%2==0?(printf("given number is even");):(printf("given
number is odd"););
| Is This Answer Correct ? | 8 Yes | 3 No |
Post New Answer View All Answers
Is return a keyword in c?
What is the role of this pointer?
What is meant by type specifiers?
How can variables be characterized?
What are dangling pointers in c?
Is stack a keyword in c?
What are the differences between Structures and Arrays?
WHICH TYPE OF JOBS WE GET BY WRITING GROUPS .WHEN THE EXAMS CONDUCTED IS THIS EXAMS ARE CONDUCTED EVERY YEAR OR NOT.PLS TELL ME THE ANSWER
write a program for the normal snake games find in most of the mobiles.
What is #line in c?
What are the 5 types of inheritance in c ++?
What is the scope of local variable in c?
write a program to copy the string using switch case?
Is it possible to pass an entire structure to functions?
What is meant by realloc()?