【物资替换】管事要将数组中第 2 件物资替换为「丝绸」,以下写法正确的是?
string goods[] = {"水囊", "干粮", "茶叶"};
goods[2] = "丝绸";
goods[1] = "丝绸";
goods[0] = "丝绸";
goods[3] = "丝绸";