Solution:
The nitro group is attached to carbon atom which is directly bonded with O-H group. This will cause increase the acidic strength of a compound.
Note: Here, NO2 group acts as strong electron withdrawing group (EWG).
As the length of carbon chain increases then the power of inductive effect gets decreased gradually. Therefore, option A is correct answer.