Voltage across capacitor lags behind current by 90∘.
The given circuit is a C−R series circuit, VR is in phase with i, while VC lags behind i by 90∘. Hence, resultant potential is V=VR2+VC2
Given, VR=12V,V=20V ∴(20)2=(12)2+VC2 ⇒VC2=(20)2−(12)2 =400−144=256 ⇒VC=256=16V