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
What is the purpose of & in scanf?
What is an operator?
Where are local variables stored in c?
What is use of bit field?
How can I open a file so that other programs can update it at the same time?
What is c language in simple words?
How can I pad a string to a known length?
What is a function simple definition?
What is include directive in c?
printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions
what is reason of your company position's in india no. 1.
What is spark map function?
What is the return type of sizeof?
The number of measuring units from an arbitarary starting point in a record,area,or control block to some other point a) recording pointer b) offset c) branching d) none
Explain the advantages of using macro in c language?