The major products A and B for the following reactions are, respectively:

In presence of DMSO an SN2 reaction will take place which will first replace the -I group by -CN from KCN. Now, in catalytic Hydrogenation this would reduce the ketone to alcohol and Cyanide to amine. Hence, option C would be the answer
Tagged Reactions and tests of amines. Machine-assigned, so read it as a strong shortlist rather than a verdict.