Program to find larger of the two numbers without using if-else,while,for,switch
Answer Posted / raj sarswat
void main()
{
int a,b;
printf("enter the value of a and b");
scanf("%d,%d",&a,&b);
a>b?printf("%d",&a):printf("%d",&b);
getch();
}
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What does *p++ do?
Explain what are preprocessor directives?
What is the difference between procedural and functional programming?
What does it mean when the linker says that _end is undefined?
What is an auto variable in c?
What are different types of variables in c?
What is call by reference in functions?
Write a C program in Fibonacci series.
What is the size of structure in c?
The performance of an operation in several steps with each step using the output of the preceding step a) recursion b) search c) call by value d) call by reference
What is the significance of c program algorithms?
What is c method?
What is the return type of sizeof?
Explain what is the benefit of using const for declaring constants?
Explain what is the difference between null and nul?