A wire carrying current i is shaped as shown. Section AB is a quarter circle of radius r. The magnetic field at c is directed