ic==> critical angle is the angle at which the ray of light gets reflected in same medium.
That means the angle of deviation id is the angle of reflection.
Now, according of laws of reflection, angle of incidence = angle of reflection.
Hence, here critical angle ic = angle of deviation id