(c) : Consider a thin spherical shell of radius x and thickness dx as shown in the figure.

Volume of the shell, dV = 4πx2dx
Let us draw a Gaussian surface of radius r(r < R) as shown in the figure above.
Total charge enclosed inside the Gaussian surface is
