Correct Answer - A
When energy on both is same, means energy on capacitor is half of its maximum energy.
`(q^(2))/(2C) = (1)/(2) (Q^(2))/(2C) rArr q = (Q)/(sqrt(2))`
`rArr Q cos omega t = (Q)/(sqrt(2)) rArr cos omega t = (1)/(sqrt(2))`
`rArr omegat = (pi)/(4) rArr t = (pi)/(4 omega) = (pi)/(4) sqrt(LC)`