In this E2 reaction, a quaternary ammonium salt is treated with an excess of methyl iodide and with silver oxide to give an ammonium hydroxide, which is heated to give the final product.
This reaction is often used to determine the structure of complex amines by converting them to simpler amines.  In violation of Zaitsev's rule, the major product in this reaction is the least substituted alkene, while the minor product is known as the Zaitsev product.  In this E2 reaction, a quaternary ammonium salt is treated with an excess of methyl iodide and with silver oxide to give an ammonium hydroxide, which is heated to give the final product. FTP, identify this elimination reaction which converts a quaternary ammonium salt to an alkene and an amide.
This reaction is often used to determine the structure of complex amines by converting them to simpler amines.  
Hofmann elimination