The condition for resonance is:
The peak current through the circuit is given by,
From the condition of resonance, we get:
The current will flow through the all circuit elements. But since the reactance of the capacitor and inductor are equal, the potential difference across them will be equal and opposite and will cancel each other.