Step 1: Find the slope.
The line makes an angle $90^\circ+\alpha$ with the X-axis, so its slope is $m=\tan(90^\circ+\alpha)$.
Step 2: Simplify the slope.
Since $\tan(90^\circ+\alpha)=-\cot\alpha$, we have $m=-\dfrac{\cos\alpha}{\sin\alpha}$.
Step 3: Use point-slope form.
The line passes through $(p\cos\alpha,\,p\sin\alpha)$, so $y-p\sin\alpha=-\dfrac{\cos\alpha}{\sin\alpha}\,(x-p\cos\alpha)$.
Step 4: Clear the denominator.
Multiply both sides by $\sin\alpha$: $y\sin\alpha-p\sin^2\alpha=-x\cos\alpha+p\cos^2\alpha$.
Step 5: Collect the x and y terms.
Bring them together: $x\cos\alpha+y\sin\alpha=p\cos^2\alpha+p\sin^2\alpha$.
Step 6: Use the Pythagorean identity.
Since $\cos^2\alpha+\sin^2\alpha=1$, the right side is just $p$. So $x\cos\alpha+y\sin\alpha=p$, which is option (C).
\[ \boxed{\,x\cos\alpha+y\sin\alpha=p\,} \]