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
diff between exptected result and requirement?
Explain what are bus errors, memory faults, and core dumps?
Why & is used in c?
Why are algorithms important in c program?
What happens if you free a pointer twice?
How do you declare a variable that will hold string values?
write a program in C that prompts the user for today's date,tomorrow's date and display the results.Use structures for today's date,tomorrow's date and an array to hold the days for each month of the year.
How do you initialize pointer variables?
The difference between printf and fprintf is ?
Can I initialize unions?
What is the use of structure padding in c?
How can I read a binary data file properly?
What happens if header file is included twice?
Write an efficient algo and C code to shuffle a pack of cards.. this one was a feedback process until we came up with one with no extra storage.
How do you define CONSTANT in C?