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.
Answers were Sorted based on User's Feedback
Answer / nagendra
i m agree with ans 3.
ans 3 is perfect..because all labels r incorrect initially.
| Is This Answer Correct ? | 1 Yes | 2 No |
Answer / ushnish ranjan chatterjee
one basket of apple,least possible way of interchange-1!
one basket of orange ,least possible way of interchange-1!
another has combination of apple nd orange,te least
possible way of interchange-3C2
the least possible way of interchange-1C1+1C1+3C2=5
| Is This Answer Correct ? | 1 Yes | 2 No |
Answer / mugeshprabhu p
First put the fruits to a suitable correct labled
baskets . This is the easy way to Interchange the lables.
| Is This Answer Correct ? | 8 Yes | 10 No |
Answer / guest
Apples to apples
Oranges to oranges
combination to Apples and oranges
| Is This Answer Correct ? | 1 Yes | 3 No |
How can you return multiple values from a function?
WAP to find that given no is small or capital
Write a progarm to find the length of string using switch case?
Once I have used freopen, how can I get the original stdout (or stdin) back?
what is pointer?
13 Answers HCL, TCS,
What is the output of printf("%d", printf("Hello"));?
What is wrong with this code such that it doesnt produce the input reversed? #include <stdio.h> #include <stdlib.h> #include <string.h> int main(void) { char Space = ' '; char LineOfText; float count; LineOfText = getchar(); while ((LineOfText = getchar()) != '/n'); { count = strlen(LineOfText) - 1; while (count >= 0) { putchar(LineOfText[count]); count--; } } getchar(); return 0; }
Can the “if” function be used in comparing strings?
What will be your course of action for a push operation?
What is null pointer constant?
What are static functions?
What is pointer to pointer in c language?