From Avogadro's law, we know that
Volume of 1 mole of the gas = gram molecular mass = 22.4 L at STP
Volume occupied by 28 g CO (1 mol CO) = 22.4 L at STP
Volume occupied by 1 g CO
Similarly, volume occupied by 1 g
Volume occupied by 1 g
Volume occupied by 1 g
Thus, 1 g will occupy maximum volume while 1 g of NO will occupy minimum volume at STP.