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 would you use the functions fseek(), freed(), fwrite() and ftell()?
Give differences between - new and malloc() , delete and free() ?
What is difference between union All statement and Union?
hi friends how r u as soon in satyam my interview is start but i m very confusued ta wat i do plz help me frndz wat can i do plz tell me some question and answers related with "C" which r asked in the interview .
Explain how can you avoid including a header more than once?
The number of measuring units from an arbitarary starting point in a record,area,or control block to some other point a) recording pointer b) offset c) branching d) none
Explain what are run-time errors?
Why we write conio h in c?
What are the types of functions in c?
What is an example of structure?
please give me some tips for the placement in the TCS.
i = 25;switch (i) {case 25: printf("The value is 25 ");case 30: printf("The value is 30 "); When the above statements are executed the output will be : a) The value is 25 b) The value is 30 c) The value is 25 The value is 30 d) none
Stimulate calculator using Switch-case-default statement for two numbers
What is fflush() function?
Is exit(status) truly equivalent to returning the same status from main?