Correct option is C
First count the number of square of the followiing grid-

The formula for calculating the number of squares in a grid = n(n+1)(2n+1)/6
Here, is the number of rows or columns in the grid.
We have, n=3
Number of squares =3(3+1)(2×3+1)/6
=3(4)(7)/6
=84/6=14
Now, count the total number of squares-

total number of squares= 14+2×9 = 14+18 = 32
Thus, correct option is (c).










