# Question #3e98f

Jun 28, 2017

Here is my understanding.

#### Explanation:

The $\text{Ag-O}$ bond in silver nitrate is covalent.

Hence, the more nucleophilic $\text{N}$ atom with its lone pair of electrons attacks the alkyl halide and forms a nitroalkane as the product.

On the other hand, potassium nitrite is an ionic compound.

The nitrite ion attacks mainly through the negatively charged $\text{O}$ atom to form an alkyl nitrite.