Q.30. Write the mechanism of the reaction of HI with methoxymethane.
Following is the mechanism:
1. Protonation of methoxymethane
2. Nucleophilic attack of
3. If HI is in excess, then methanol formed in step 2 reacts with another HI molecule and gets converted to methyl iodide at a high temperature.