Step 1: Plan the check.
An integral is correct when its derivative gives back the integrand. We differentiate each option and compare with $\dfrac{\cos x}{\sqrt{\sin^2 x + 1}}$.
Step 2: Differentiate option (C).
Let $S = \sqrt{1 + \sin^2 x}$. By the chain rule, $\dfrac{dS}{dx} = \dfrac{\sin x \cos x}{S}$.
\[ \frac{d}{dx}\log\left|\sin x + S\right| = \frac{\cos x + \dfrac{\sin x \cos x}{S}}{\sin x + S} \]
Take \(\cos x\) common in the numerator and write it over S.
\[ = \frac{\cos x\,(S + \sin x)}{S\,(\sin x + S)} = \frac{\cos x}{S} \]
This is exactly the given integrand, so (C) is correct.
Step 3: Differentiate option (A).
The derivative of $\tan^{-1}(\sin x)$ is $\dfrac{\cos x}{1 + \sin^2 x}$. The denominator has no root, so it does not match.
Step 4: Differentiate options (B) and (D).
For (B), $\sin^{-1}(\sin x) = x$ on the principal range, and its derivative is 1. That is not our integrand.
For (D), the same working as in (C) with $\sin x - S$ gives $-\dfrac{\cos x}{S}$. It has the wrong sign.
Final Answer:
Only option (C) has the right derivative.
\[ \boxed{\log\left|\sin x + \sqrt{1+\sin^2 x}\right| + C} \]