When an alkyl halide (R-X, where X is a halogen) reacts with silver nitrite (AgNO\(_2\)), the nitrite ion acts as an ambident nucleophile, attacking via nitrogen to form an alkyl nitrite (R-ONO) as the major product, due to the covalent nature of AgNO\(_2\).
Reaction: R-X + AgNO\(_2\) \to R-ONO + AgX.
Answer: Alkyl nitrite (R-ONO).