Buffer is a mixture of weak acid with its salt with strong base or mixture of weak base and its salt with strong acid:
[a] HCl+NaOH is not buffer because both are strong acid and strong base.
[b] KOH+CH3COOH is not buffer because they do not have common ion.
[c] CH3COOH+NaCl is not buffer because they do not have common ion.
[d] CH3COOH+CH3COONa are buffer because CH3COOH is weak acid and CH3COONa its salt with strong base (NaOH).