write a c program to find biggest of 3 number without
relational operator?
Answer Posted / manjeeth
void main()
{
int a = 5;
int b = 7;
int c = 2;
int res;
res = (int)(a/b)?a:b;
res = (int)(res/c)?res:c;
printf("big num = %d",res);
}
| Is This Answer Correct ? | 132 Yes | 28 No |
Post New Answer View All Answers
Explain what is a 'locale'?
What is the difference between class and object in c?
What is a good data structure to use for storing lines of text?
What is the use of header?
Differentiate between a for loop and a while loop? What are it uses?
Is it possible to have a function as a parameter in another function?
What is Dynamic memory allocation in C? Name the dynamic allocation functions.
what do the 'c' and 'v' in argc and argv stand for?
What is d'n in c?
What is the use of printf() and scanf() functions?
Tell us two differences between new () and malloc ()?
What is graph in c?
What is #pragma statements?
Why & is used in c?
What is the scope of static variable in c?