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


Please Help Members By Posting Answers For Below Questions

how we can make 3d venturing graphics on outer interface

3996


I just typed in this program, and it is acting strangely. Can you see anything wrong with it?

558


Explain indirection?

637


What does the file stdio.h contain?

597


What are the different types of control structures in programming?

656






what is different between auto and local static? why should we use local static?

638


using for loop sum 2 number of any 4 digit number in c language

1729


What is #define used for in c?

609


How can I change their mode to binary?

690


What is use of null pointer in c?

563


What is openmp in c?

608


Why should I use standard library functions instead of writing my own?

667


Why is c used in embedded systems?

606


Why array is used in c?

549


the statement while(i) puts the entire logic in loop. this loop is called a) indefinite loop b) definite loop c) loop syntax wrong d) none of the above

602