It required 0.7 g of a hydrocarbon (A) to react completely with (2.0 g) and form a non resolvable product. On treatment of (A) with HBr it yielded monobromo alkane (B). The same compound (B) was obtained when (A) was treated with HBr in presence of peroxide. Write down the structure formula of (A) and (B) and explain the reactions involved.
Written answer: work it out on paper, then compare.