(c) When the ray passes into the rarer medium, the deviation is $\delta = \phi - \theta$. This can have a maximum value of $\left( \frac{\pi}{2} - C \right)$ for $\theta = C$ and $\phi = \frac{\pi}{2}$
When total internal reflection occurs, the deviation is $\delta = \pi - 2\theta$, the minimum value of $\theta$ being $C$. The maximum value of $\delta = \pi - 2C$