On modern running systems, it will cause a segmentation fault sign getting despatched to your offending method. P R = V 2 × I = V R R + R C × V R + R C = R R + R C × V two R + R C = R R + R C P V displaystyle P_ R =V_ two occasions I=V frac R R+R_ C situations frac V R+R_ C = frac R R+R_ C situations frac V^ two R+R_ C = frac R R+R_ C P_ V