How many squares are there in the given figure?

Show answer & explanation
Correct answer: A
Explanation
The correct answer is option 1 i.e. 28.

28 squares: ABHK, KHML, BDFH, HFNM, BCJI, CDEJ, IJGH, JEFG, BDFH, ADNL, UTWV, TSRW, WRQP, VWPO, USQO, 96YX, (19, 1, Z, Y), (3, 2, 1, 19), (4, 3, 19, 9), (4, 20, 8, 5), (20, 3, 7, 8), (8, 7, 19, 6), (5, 8, 6, 9), (18, 17, 16, 15), (17, 10, 11, 16), (16, 11, 12, 13), (15, 16, 13, 14), (18, 10, 12, 14)