I need to compare the acidic strength in these molecules:
My Approach:
In compound I: Removing a proton would lead to conjugation between -ve charge, pi bond and lone pair of O. Moreover the inductive effect due to 'O' will stabilize the charge.
In compound II: Removing a proton(from the carbon adjacent to the pi bond) would lead to conjugation, but relatively less than one. Moreover 'O' is far away, so inductive effect does not play a role here.
From this I concluded that compound 'I' must be more acidic. But the answer says that the second compound is more acidic.
Where am I going wrong?