Step 1: Use the phasor picture:
Think of voltage and current as rotating arrows (phasors). For a capacitor the reactance is \( X_C = \dfrac{1}{\omega C} \), and the current phasor is drawn a quarter turn ahead of the voltage phasor.
Step 2: Work with the charge:
Take the charge as $q = q_0 \sin \omega t$. The voltage across the capacitor is $V = q/C$, so it moves exactly in step with the charge. The current is $I = dq/dt = q_0 \omega \cos \omega t$.
Step 3: Compare the two waves:
When the charge (and so the voltage) is zero, the current is at its largest value $q_0 \omega$. When the voltage is at its largest, the current is zero. Since $\cos \omega t = \sin(\omega t + \pi/2)$, the current is ahead of the voltage by $\pi/2$.
Step 4: Match with the options:
Ahead means forward, which is option (A). Backward (B) is the inductor case, and same phase (C) is the resistor case. Neither holds here, and (D) is not needed.
Final Answer:
The current in a capacitor circuit is ahead of the voltage by a quarter cycle, so the answer is (A).
\[ \boxed{\text{(A)}} \]