A compound `(C_(5)H_(8))` reacts with ammoniacal `AgNO_(3)` to give a white precipitate and reacts with excess of `KMnO_(4)` solution to give `(CH_(3))_(2)CH-COOH`. The compound is
A. `CH_(2)=CH-CH=CH-CH_(3)`
B. `CH_(3)-CH_(2)-C-=C-CH_(3)`
C. `(CH_(3))_(2)CHC-=CH`
D. `(CH_(3))_(2)C=C=CH_(2)`