Which of the following statements about contour integrals in complex analysis is correct?
A) The contour integral of a function f(z) around a closed contour is always zero if f(z) is analytic everywhere inside and on the contour.
B) The contour integral of a function f(z) along a path C is independent of the path if f(z) is analytic everywhere in the complex plane.
C) The contour integral of f(z) around a simple closed contour C can be evaluated using the residue theorem if f(z) has singularities inside
D) The contour integral of f(z) around any closed contour is zero if f(z) has singularities on the contour.