Which of the following is formed as a major compound when ethyl chloride reacts with silver nitrite?
The major product formed when methyl iodide reacts with sodium nitrite is