Answer:
Option A
Explanation:
The number of squares will be formed on;y when there are equal number of horizontal and vertical lines.ie, 5 horizontal and 5 vertical lines.The maximum number of squares that can be formed using 10 straight lines will be
$1^{2}+2^{2}+3^{2}+4^{2}$
=1+4+9+16=30