Correct option is (c) A < B
The best explanation: Compound A has a methoxy group (electron donating) and compound B has nitro group (electron withdrawing). In simple terms, the electron withdrawing groups stabilise the carboxylate ion and strengthen the acid, whereas electron donation groups weaken the acid.