Which of the following components of a LCR circuit, with ac supply, dissipates energy
L
R
C
All of these
Only resistor dissipates energy in AC.