The major product of the following reaction is :

From the JEE Main 2019 · 11 Jan · Shift 1 paper. Try it, check your answer, then read the worked solution below.
The major product of the following reaction is :

Try it yourself first, then check your working against this.
Worked solution
Ni/H₂ reduces the nitrile to CH₂NH₂. DIBAL-H reduces the ester to the aldehyde, which condenses intramolecularly with the amine to form the cyclic imine, 3,4-dihydroisoquinoline.
(B)
Concepts used: cyclic imine
Every past question tagged to the same part of the syllabus, with solutions.
All JEE Main questions on Amines and Nitrogen Compounds · All JEE Main questions on Aldehydes and Ketones
Past questions on the same topic (Cyanides and isocyanides), each with a worked solution.
Timed, in the real format, and marked the moment you submit.