Let x be the oxidation number of Ni in [Ni–––(CO)4].
Since the overall charge on the compound is 0, the sum of oxidation states of all elements in it should be equal to 0.
Therefore, x+4(0)=0
or, x=0
Hence, the oxidation number of Ni in [Ni–––(CO)4] is 0.