For every gaseous equilibrium we recall the relation
Kp=Kc(RT)Δng
where Δng=(total moles of gaseous products)−(total moles of gaseous reactants).
If Δng=0, the factor (RT)Δng=(RT)0=1 and we immediately obtain Kp=Kc.
If Δng=0, then (RT)Δng=1 and we have Kp=Kc. So our task reduces to evaluating Δng for each given equilibrium.
Option A : 2HI(g)⇌H2(g)+I2(g)
Total gaseous reactant moles =2, product moles =1+1=2. Hence
Δng=2−2=0⟹Kp=Kc.
Option B : 2C(s)+O2(g)⇌2CO(g)
Only gases are counted, so solid carbon is ignored. Reactant gaseous moles =1, product gaseous moles =2. Therefore
Δng=2−1=+1=0⟹Kp=Kc.
Option C : 2NO(g)⇌N2(g)+O2(g)
Reactant moles =2, product moles =1+1=2. Thus
Δng=2−2=0⟹Kp=Kc.
Option D : NO2(g)+SO2(g)⇌NO(g)+SO3(g)
Reactant moles =1+1=2, product moles =1+1=2. Hence
Δng=2−2=0⟹Kp=Kc.
Among the four equilibria, only Option B gives Δng=0 and therefore satisfies Kp=Kc.
Hence, the correct answer is Option B.