write a c program to find biggest of 3 number without
relational operator?
Answer Posted / sidhartha
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,c,big;
clrscr();
printf("\n ENTER 3 VALUES : ");
scanf("%d%d%d",&a,&b,&c);
big=(a>b && a>c ? a:b>c ? b:c);
printf("\n THE BIGGEST NUMBER IS : %d",big);
getch();
]
| Is This Answer Correct ? | 22 Yes | 63 No |
Post New Answer View All Answers
What is selection sort in c?
How do you write a program which produces its own source code as output?
Is null always equal to 0(zero)?
What are the types of data structures in c?
if (i = 0)printf ("True"); elseprintf("False"); Under what conditions will the above print out the string "True" a) Never b) Always c) When the value of i is 0 d) all of the above
Are the variables argc and argv are always local to main?
What is an endless loop?
Explain a file operation in C with an example.
How main function is called in c?
What is the difference between struct and union in C?
Difference between strcpy() and memcpy() function?
What is openmp in c?
which type of aspect you want from the student.
When reallocating memory if any other pointers point into the same piece of memory do you have to readjust these other pointers or do they get readjusted automatically?
Describe the header file and its usage in c programming?