A circular loop of radius R carrying current I lies in x-y plane with its centre at origin. The total magnetic flux through $x$-$y$ plane is:
JEE Mains (1999,2M)
The question looks innocent, but then we realize that if the loop is planar, then gauss law of magnetism is out of reach. The one thing I know is that $\nabla \cdot \vec{B}=0$ and the total flux is given by:
$$ \int_{R^2} \vec{B} \cdot dA $$
But, it is tough to find an expression for field due to the at each point in plane to calculate the net flux. An explanation I found on Sarthaks explains this using the fact that magnetic field forms closed loops:
But I don't think this implies net flux is zero, because even though the field forms closed loops, the field at one end needn't contribute opposite flux to towards at the other place where the loop pierces the x-y plane i.e: the magnetic field decays as you move outwards.