biggest of two no's with out using if condition statement
Answer Posted / ramanjaneyareddy
#include<stdio.h>
main()
{int a,b,c;
scanf("%d%d",&a,&b);
c=(a>b)?a:b;
printf("%d",c);
return(0);
}
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
Explain why c is faster than c++?
What is the difference between mpi and openmp?
Is it better to use a macro or a function?
What are the advantages and disadvantages of a heap?
What is the advantage of c?
Explain how can I convert a number to a string?
what is a constant pointer in C
Can you think of a logic behind the game minesweeper.
write a program to display all prime numbers
Explain what are the standard predefined macros?
What is the right type to use for boolean values in c? Is there a standard type?
What are void pointers in c?
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 c value mean?
Explain low-order bytes.