Step 2: Add the derivatives
The total is $\sec x\tan x+\operatorname{cosec}x=\dfrac{\sin x}{\cos^2x}+\dfrac{1}{\sin x}=\dfrac{\sin^2x+\cos^2x}{\sin x\cos^2x}$.
Step 3: Result
This simplifies to $\dfrac{1}{\sin x\cos^2x}$, the given integrand, so option (C) is the antiderivative.
Final Answer:
Option (C) differentiates back to the integrand.
\[ \boxed{\text{(C) }\sec x+\log\left|\operatorname{cosec}x-\cot x\right|+c} \]