Primary alcohols are easily oxidised to aldehyde and then to acid, both containing the same number of carbon atom, while secondary alcohol are easily oxidised to ketone with same number of carbon atoms, but ketone oxidised to carboxylic acid containing lesser number of carbon atoms than original alcohol.
Thus, all the alcohols on oxidation finally give acids but acids obtained from secondary and tertiary alcohols contain lesser number of carbon atom.