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 is %d called in c?
main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above
what will be the output for the following main() { printf("hi" "hello"); }
What is the scope of an external variable in c?
Give differences between - new and malloc() , delete and free() ?
write a c programming using command line argument,demonstrate set operation(eg;union,intersection,difference) example output is c:>setop 12 34 45 1 union 34 42 66 c:>setop 12 34 1 42 66 c:>setop 12 34 diff 12 56 67 78 setop 12 34
What is a nested formula?
What are local variables c?
Explain what is the difference between a string and an array?
What is hashing in c?
what is a constant pointer in C
I came across some code that puts a (void) cast before each call to printf. Why?
Is c# a good language?
How many levels deep can include files be nested?
What is void c?