Program to find largest of three numbers without using comparsion operator?
Answer Posted / arunslb123
ct=0;
while(var1 && var2 && var3){
var1++;
var2++;
var3++;
ct--;
}
printf("%d",ct);
could u pls explain this
Is This Answer Correct ? | 5 Yes | 6 No |
Post New Answer View All Answers
How can I find out the size of a file, prior to reading it in?
Who invented bcpl language?
What is difference between scanf and gets?
How do I convert a string to all upper or lower case?
Can you pass an entire structure to functions?
How are 16- and 32-bit numbers stored?
What are the 5 data types?
What is an lvalue?
Write a program to print “hello world” without using semicolon?
What is the difference between %d and %i?
What do you mean by a local block?
Are the expressions * ptr ++ and ++ * ptr same?
What are volatile variables in c?
Explain what does the function toupper() do?
List the different types of c tokens?