World leaders turned a cautious eye to North Korea after the communist state admitted .... a secret nuclear weapons program.

A) to have

B) having

C) to having

D) to have had

E) to be having

would you please be so kind as to explain the difference between B and C, if there is any?