According to diagram in the question, magnetic field at the centre C will be sum of the magnetic field due to straight part B1 and magnetic field due to rircular part R2∵ From Maxwell's right hand thumb rule direction of both magnetic field at the point C will be same and above the plane of paper.
So, BC=B1+B2=4πrμ0i+4rμ0i=4πrμ0i(1+π)
Hence, the magnetic field at the centre C of the arrangement shown in figure is, 4πrμ0i(1+π).