There are 3 baskets of fruits with worng lables,one basket
has apple,another basket has orange,another has combination
of apple and orange,what is the least way of interchange
the lables.
Answer Posted / soumava bose
suppose B1,B2,& B3 care the baskets.Now we will first open
B1.suppose it contains Oranges.Then its level would be
either Appale or Combination.Now suppose The lebel is
combination.Now the basket with lebel orange is
interchanged with it.As initially all baskets had wrong
lebels.so the basket with lebel appale must have either
orange or combination.so now we interchange the two lebels
of the remaining baskets & get the proper answer.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is pass by reference in c?
#include
Why is struct padding needed?
Hi can anyone tell what is a start up code?
What are lookup tables in c?
Can stdout be forced to print somewhere other than the screen?
Explain how can you be sure that a program follows the ansi c standard?
What is property type c?
Differentiate between declaring a variable and defining a variable?
Do character constants represent numerical values?
What is the general form of a C program?
What is call by reference in functions?
Why string is used in c?
Do you know the use of fflush() function?
explain what are pointers?