Step 1: Differentiating each option instead:
Differentiate option A: \(\dfrac{d}{dx}[\cos x+x\sin x+c]=-\sin x+\sin x+x\cos x=x\cos x\).
Step 2: Confirming the match:
This equals the original integrand exactly, so option A is the correct antiderivative.
Final Answer:
Differentiation check confirms \(\boxed{\cos x+x\sin x+c}\).