The correct option is C C6H12O6
Let x be the oxidation state of carbon.
Since, the overall charge on the complex is 0, the sum of oxidation states of all elements in it should be equal to 0.
a. CH4:x+4=0→x=−4
b. CH3OH:x+4−2=0⇒x=−2
c. HCOOH:x+2−4=0⇒x=2
d. C6H12O6:6x+12−12=0⇒x=0
Hence, the oxidation state of carbon is zero in C6H12O6.