There is a lucky draw held every day.
If there is a winning number eg. 1876, then all possible
numbers like 1867 ,1687,1768 etc are the numbers that match
irrespective of the position of the digits.
Thus all these numbers qualify fr the lucky draw prize.
Assume there is no zero digit in any numbers.
Write a program to show all the possible winning numbers if
a "winningnumber" is passed as an argument to the function.

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

what is the least perfect square divisible by8, 9 and 10?

3 Answers   Thermax,


at central state college the ratio of the number of students taking spanish to the number of taking french is 7:2,if 140 students taking french,how many are taking spanish

2 Answers  


If A=Z, B=Y, C=X, .......... Z=A, Then SOUR = ?

0 Answers   Baan Infotech,


A garrison of 3300 men has provisions for 32 days, when given at a rate of 850 grams per head. At the end of 7 days reinforcement arrives and it was found that now the provisions will last 8 days less, when given at the rate of 825 grams per head. How, many more men can it feed?

0 Answers   iNautix,


Ramesh owns 2/3 of the travel business and sells 3/4 of his shares for Rs. 75000. What is the value of his travel business?

0 Answers   Cap Gemini,






The LCM of two numbers is 60. The sum of the numbers is 50. What are the numbers?

10 Answers   Alps, IBM,


Wat is the next letter OTTFFSS_?

4 Answers  


A started at 9.00 am with 6 mph and B started at 9.30 am with 8mph in the same direction. At what time they will meet?

6 Answers   CitiGroup, Ramco,


in a class, 20 opted for physics,17for maths,5for both and 10 for other subjects.the class contains how many students ?

9 Answers   Cognizant,


Please send the SBI Clerical job Question paper set with answer on my E-mailID 04rajasthan@gmail.com

2 Answers   State Bank Of India SBI,


2 hours after a freight train leaves Delhi a passenger train leaves the same station travelling in the same direction at an average speed of 16 km/hr. After travelling 4 hrs the passenger train overtakes the freight train. The average speed of the freight train was?

1 Answers  


find missing no 6 7 8 8 8 ?

13 Answers   HCL,


Categories