Consider the following statements.
If all the reactants are not taken in their stoichiometric ratio, then at least one reactant will be left behind because if reactants are not in a stoichiometric ratio then one reactant will be limiting agent and reaction will stop.
2H2+3O2⟶2H2O ( 2 moles of O2 will be left behind as H2 is the limiting reagent)
C+O2⟶CO2