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

the total expense of boarding house are partly fixed and partly variable.the charge is rs 70 per head when there are 25 boarders and rs 60 when there are 50 boarders.find charge per head when there are 100 boarders

13 Answers   GMAT, TCS,


i want sbi's previous year's question paper to appear for the written test for clerical post. plz send it to my email id.

7 Answers   State Bank Of India SBI,


opposite to ESSENTIAL?

5 Answers   Geometric Software,


if PQRSTU implies QRSTUV then ABCDEFG implies what?

4 Answers  


Hi Guys. I am an Instrumentation and Control Engineer(ICE) and have filled various PSU entrance exam forms. I wanted to know if anyone of you out there had any material for the preparation of the same. Any sort of material will be greatly appreciated. Be it previous year questions (Aptitude, GK or Technical) , study material or links to websites which do have this material. PSUs that I am going to appear in are HPCL, SAIL, ECIL and finally Gate. Any suggestions and advice is greatly welcomed. My E-Mail ID is kris_sreekanth86@yahoo.co.in

0 Answers   Sail,






Imagine you are standing in front of a mirror, facing it. Raise your left hand. Raise your right hand. Look at your reflection. When you raise your left hand your reflection raises what appears to be his right hand. But when you tilt your head up, your reflection does too, and does not appear to tilt his/her head down. Why is it that the mirror appears to reverse left and right, but not up and down?

9 Answers   Microsoft,


if the height of the triangle decreases by 40% and the breadth increases by 40%.then the effect on the area is

1 Answers   TCS,


A car is journied a certain distance in 7 hrs in forward journey in the return journey increased speed 12km/hr takes the times 5 hrs. what is the distance

2 Answers   IIT Delhi, MBT,


sir, can u plz give me model set papers of sbi and vijayabank

0 Answers  


An article sold at a profit of 20% if both the cost price and selling price would be Rs.20/- the profit would be 10% more. What is the cost price of that article?

0 Answers   3i Infotech, Amazon, Canara Bank,


A says Party was held on :Thursday ,May 8th. B says Party was held on :Tuesday,May 10th. C says party was held on :Friday ,June 8th. Given April 1 st was Tuesday.one of A,B,C says 1 correct.one says 1 wrong.and one was completely wrong of date,Month and day. Find the Day the party held.

0 Answers   Infosys,


If log 0.317=……… and log 0.318=………. Then find the value of log 0.319.

0 Answers   Accenture,


Categories