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
Why do we use null pointer?
What will be your course of action for a push operation?
Is multithreading possible in c?
Does c have an equivalent to pascals with statement?
What is zero based addressing?
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
What does calloc stand for?
What is data structure in c language?
The __________ attribute is used to announce variables based on definitions of columns in a table?
Explain how can you avoid including a header more than once?
How can I discover how many arguments a function was actually called with?
Explain what are preprocessor directives?
What are static variables in c?
When is a “switch” statement preferable over an “if” statement?
How can a program be made to print the line number where an error occurs?