Right answer is (a) B = μ0 NI
For explanation: Ampere’s circuital law:
∮ B.dl = ∮ B.dlcos0 = B ∮ dl = B.2πr …………………..1
But, for a toroid:
∮ B.dl = μ0 × total current threading the toroid
∮ B.dl = μ0 × total number of turns in the toroid × I
∮ B.dl = μ0 N2πrI ……………………………2
From 1 and 2
B.2πr = μ0 N2πrI
Therefore, B = μ0NI