Question
Account for the fact that the C—O bond in RCOOH is shorter than in ROH ?
Solution
There are two resonating structures of RCOOH.


Due to this resonance, there is some double-bond character in the C—O bond of the acid, which shortens its bond length.
In case of ROH,there is no any resonating structure thus C-O bond is larger in it.