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
What are local static variables? How can you use them?
What is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
What is declaration and definition in c?
When we use void main and int main?
What does malloc () calloc () realloc () free () do?
When is a void pointer used?
What is typedf?
Can you define which header file to include at compile time?
What is a static variable in c?
What are the storage classes in C?
How will you divide two numbers in a MACRO?
#include
How do you override a defined macro?
c program to compute AREA under integral
Why does not c have an exponentiation operator?