When tetraalkylammonium halide is heated with moist silver oxide, it gives quaternary ammonium hydroxide which on strong heating undergoes $\beta$-elimination to give alkenes; the reaction is called Hoffmann elimination. In this reaction the major product is least substituted alkene. e.g.