Given a 10 digit Telephone Number, we have to print all possible strings created from that. The mapping of the numbers is the one as exactly on a phone's keypad.
i.e. for 1,0-> No Letter for 2-> A,B,C
So for example, 1230 ADG BDG CDG AEG....
Whats the best solution in c/c++ to this problem?