Since ABCD is a square, the centre O is equispaced from all the corners of the square.
Let the charge at O be +q. Therefore force on the charge at O due to charges at A and C
will be along OC as one force is repulsive and the other is attractive. So the resultant of these two forces will be along OC. Similarly the resultant force due to charges at B and D will be along OD. Hence the resultant of all the forces at O will be along OR. In case the charge at O be −q, then the resultant will be along OR′ Since both OR and OR′ are perpendicular to the side AB, so the resultant force on any charge placed at O due to the given configuration of charges will be perpendicular to the side AB.