Magnitude as well as polarities of charges at points A and C are same. Therefore forces at O, due to these charges cancel each other. Moreover, polarities of the charges at B and D are opposite; therefore force on charge kept at the centre is along the diagonal BD.