Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Two sentences are given and we were required to print the
common word in the two sentences. Words were delimited by
space, full stop, ? , ! and , . The trick in the question
was that common word should be printed only once so if ur
first sentence contains two word "how" and second contains
"how" then in output how should be printed only once for
this u can replace each matched word in second sentence by
spaces .

i want a solution in C/C++ language


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More General Aptitude Interview Questions

Direction for Qn 9-12 Five teams participated in Pepsi Cup. Each team played against each other. The top teams played finals. A win fetched 2 pts and a tie 1 point 1) South Africa were in the finals 2) India defeated SA but failed to reach the finals 3) Australia lost only one match in the tournament 4) The match between India and Sri Lanka was a tie 5) The undefeated team in the league matches lost in the finals 6) England was one of the best teams that did not qualify 9. Who were the finalists? i. SA & India ii. Aus & SL iii. SA & SL iv. none 10. Who won the finals? i. Aus ii. SL iii. SA iv. Can't be determined 11. How many matches did India Win? i. 0 ii. 1 iii. 2 iv. can't be determined 12. What was the outcome of the India England Match i. India won ii. England won iii. It was a tie iv. Can't be determined Direction for Qn 13-14 These qns are based on situations given below: 7 Uni crick players are to be honored at a special luncheon. The players will be seated on a dais along one side of a single rectangular table. A and G have to leave the luncheon early and must be seated at the extreme right end of table, which is closest to exit. B will receive Man of the Match and must be in the centre chair C and D who are bitter rivals for the position of Wicket keeper dislike one another and should be seated as far apart as possible E and F are best friends and want to seat together. 13. Which of the foll may not be seated at either end of the table? i. C ii. D iii. G iv. F 14. Which of the foll pairs may not be seated together? i. E & A ii. B & D iii. C & F iv. G & D Direction for Qn 15-18 An employee has to allocate offices to 6 staff members. The offices are no. 1-6. the offices are arranged in a row and they are separated from each other by dividers>hence voices, sounds and cigarette smoke flow easily from one office to another Miss R needs to use the telephone quite often throughout the day. Mr. M and Mr. B need adjacent offices as they need to consult each other often while working. Miss H is a senior employee and his to be allotted the office no. 5, having the biggest window. Mr D requires silence in office next to his. Mr. T, Mr M and Mr. D are all smokers. Miss H finds tobacco smoke allergic and consecutively the offices next to hers are occupied by non-smokers. Unless specifically stated all the employees maintain an atmosphere of silence during office hrs. 15. The ideal candidate to occupy office farthest from Mr. B will be i. Miss H ii. Mr. M iii. Mr. T iv. Mr. D 16. The three employees who are smokers should be seated in the offices i. 1 2 4 ii. 2 3 6 iii. 1 2 3 iv. 1 2 3 17. The ideal office for Mr. M would be i. 2 ii. 6 iii. 1 iv. 3 18. In the event of what occurrence within a period of one month since the assignment of the offices would a request for a change in office be put forth by one or more employees? i. Mr D quitting smoking ii. Mr. T taking over duties formally taken care of by Miss R iii. The installation of a water cooler in Miss H's office iv. Mr. B suffering from anemia Direction for Qn 19-20 A robot moves on a graph sheet with x-y axes. The robot is moved by feeding it with a sequence of instructions. The different instructions that can be used in moving it, and their meanings are: Instruction Meaning GOTO(x,y) move to pt with co-ord (x,y) no matter where u are currently WALKX(P) move parallel to x-axis through a distance of p, in the +ve direction if p is +ve and in -ve if p is -ve WALKY(P) move parallel to y-axis through a distance of p, in the +ve direction if p is +ve and in -ve if p is -ve 19. The robot reaches point (5,6) when a sequence of 3 instr. Is executed, the first of which is GOTO(x,y) , WALKY(2), WALKY(4). What are the values of x and y?? i. 2,4 ii. 0,0 iii. 3,2 iv. 2,3 20. The robot is initially at (x.y), x>0 and y<0. The min no. of Instructions needed to be executed to bring it to origin (0,0) if you are prohibited from using GOTO instr. Is: i. 2 ii. 1 iii. x + y iv. 0 Direction for Qn 21-23 Ten coins are distr. Among 4 people P, Q, R, S such that one of them gets a coin, another gets 2 coins,3rd gets 3 coins, and 4th gets 4 coins. It is known that Q gets more coins than P, and S gets fewer coins than R 21. If the no. of coins distr. To Q is twice the no. distr. to P then which one of the foll. is necessarily true? i. R gets even no. of coins ii. R gets odd no. of coins iii. S gets even no. of coins iv. S gets odd no. of coins 22. If R gets at least two more coins than S which one of the foll is necessarily true? i. Q gets at least 2 more coins than S ii. Q gets more coins than P iii. P gets more coins than S iv. P and Q together get at least five coins 23. If Q gets fewer coins than R, then which one of the foll. is not necessarily true? i. P and Q together get at least 4 coins ii. Q and S together get at least 4 coins iii. R and S together get at least 5 coins iv. P and R together get at least 5 coins Direction for Qn 24-25 Elle is 3 times older than Zaheer. Zaheer is ? as old as Waheeda. Yogesh is elder than Zaheer. 24. What is sufficient to estimate Elle's age? i. Zaheer is 10 yrs old ii. Yogesh and Waheeda are both older than Zaheer by the same no of yrs. iii. Both of the above iv. None of the above 25. Which one of the foll. statements can be inferred from the info above i. Yogesh is elder than Waheeda ii. Elle is older than Waheeda iii. Elle's age may be less than that of Waheeda iv. None of the above

3 Answers   Cap Gemini, Coca Cola, TCS,


A and B's temperature are 10°c and 20°c having same surface , then their ratio of rate of emmisions is ?

0 Answers   Flipkart, Wipro,


pls send the model question paper for clerical post in sbi bank on my email id.

0 Answers   State Bank Of India SBI,


X's father's wife's father's granddaughter uncle will be related to X as?

1 Answers   Wipro,


If there are 1024*1280 pixels on a screen and each pixel can have around 16 million colors Find the memory required for this?

0 Answers   3i Infotech, Canara Bank, EDS,


Find the next letter in the series c,o,m,p,u,t,e--

0 Answers   DSQ Software,


4) A number when divided by D leaves a remainder of 8 and when divided by 3D leaves a remainder of 21 . What is the remainder left, when twice the number is divided by 3D? a) 13 b) cannot be determined c) 3 d) 42

7 Answers   TCS,


There are 5 red shoes, 4 green shoes. If one draw randomly a shoe what is the probability of getting red shoe

0 Answers   Ramco,


What is difference between credit card and debit card?

1 Answers  


1. Questions on probability 2. Questions on statistics (mainly growth rates, market shares, etc.) 3. Questions on general logics 4. Evaluate strengths and weekness of proposed product All questions are open test

0 Answers   DEK, Nielsen, SP Jain, TMR,


Lowest sum of three odd number

1 Answers  


The size of the bucket is N kb. The bucket fills at the rate of 0.1 kb per millisecond. A programmer sends a program to receiver. There it waits for 10 milliseconds / and response will be back to programmer in 20 millisecond. How many much time the program takes to get a response back to programmer, after it is sent? Plz explain..

5 Answers   Infosys, TCS,


Categories