The forces of attraction are strongest in solids and weakest (or negligible) in case of gases. Sugar is a solid, water is in liquid form and oxygen is a gas so, the order of forces of attraction is
oxygen < water < sugar.
When 3.0g of carbon is burnt in 8.00g oxygen, 11.00g of carbon dioxide is produced. What mass of carbon dioxide will be formed when 3.00g of carbon is burnt in 50.0g of oxygen? Which law of chemical combination will govern your answer?