Bottles containing PhI and PhCH2I lost their original labels. They were labelled as (A) and (B) for testing. (A) and (B) were separately taken in test tubes and boiled with NaOH solutions. The end solution in each tube was made acidic with dilutie HNO3 and some AgNO3 solution was added. Substance (B) gave a yellow precipitate. Which of the following statements is true for this experiment?