Hydrocarbon A gave a white precipitate with ammoniacal silver nitrate

Hydrocarbon A gave a white precipitate with ammoniacal silver nitrate. Oxidation of A with hot alkaline $KMno_{ 4 }$ gave 2-methyl propanoic acid. What is the structural formula of A?