The final product formed when Methyl amine is treated with NaNO2 and HCl is
  Diazomethane  
	 
  Methylalcohol   
	 
 Methylcyanide   
	 
Nitromethane
                
                  As we learnt in
Reaction with Nitrous Acid Primary Amines -
Primary amines react with nitrous acid to produce diazonium ion.
- wherein
The values of ionization potential of an element decrease as the atomic size increases. Also, removal of electron from half or full filled atoms require more energy than expected with maximum in noble gases.
Finally, IE increases along a period and decreases down the group.
So, the order is 
Methylalcohol
Reaction of aliphatic primary amines with nitrous acid to produce alcohol.
Option 1)
  Diazomethane  
 
This option is incorrect
Option 2)
  Methylalcohol   
 
This option is correct
Option 3)
 Methylcyanide   
 
This option is incorrect
Option 4)
Nitromethane
This option is incorrect
Study 40% syllabus and score up to 100% marks in JEE