Porosity $n$ and void ratio $e$ are related as follows:
\[n = \frac{V_v}{V_v + V_s}\]
Here:
$V_v$ represents the volume of voids.
$V_s$ represents the volume of solids.
Expressing $n$ in terms of $e$ yields the equation:
\[n = \frac{e}{1 + e}\]
Therefore, $n = \frac{e}{1+e}$ is the correct expression, confirming Option (B) as the valid answer.