AB
AD
DC
BC
We can put an imaginary charge Q at the center of the square and look at the forces acting on it due to the four charges. Let the distance of each charge from the central charge be the same. Thus the magnitude of the force is proportional to the charge. Force due to charge +q is a^i - a^j Force due to charge +2q is -2a^i - 2a^j Force due to charge +3q is -3a^i + 3a^j Force due to charge +4q is 4a^i + 4a^j Thus net force on the charge = 4a^j Thus the net direction of electric field at center is along DC.