 (primary, secondary or tertiary).In this method the sample alcohol is treated with PI3 to get the iodoalkane which is again treated with AgNO2 to get the nitroalkane.The nitroalkane is then treated with nitrous acid which is obtained by NaNO2 and HCl.