Program to find larger of the two numbers without using if-else,while,for,switch
Answer Posted / vara
#include<stdio.h>
void main()
{
int a,b;
printf("enter a and b values");
scanf("%d%d",&a,&b);
a>b?printf("%d",a):printf("%d",b);
}
| Is This Answer Correct ? | 89 Yes | 11 No |
Post New Answer View All Answers
In a switch statement, explain what will happen if a break statement is omitted?
What does the function toupper() do?
Does c have circular shift operators?
Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)
What does double pointer mean in c?
Why main function is special give two reasons?
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
What is a far pointer in c?
What is c value paradox explain?
What is void main () in c?
What is pivot in c?
What is the use of #include in c?
Explain how are 16- and 32-bit numbers stored?
How do you search data in a data file using random access method?
Explain which function in c can be used to append a string to another string?