Carbon + Oxygen → Carbon dioxide
3g of carbon reacts with 8 g of oxygen to produce 11g of carbon dioxide. If 3g of carbon is burnt in 50g of oxygen, then 3g of carbon will react with 8 g of oxygen. The remaining 42 g of oxygen will be left un-reactive. In this case also, only 11g of carbon dioxide will be formed. The above answer is governed by the law of constant proportions.