Effect of pyrolysis temperature on the properties of carbon/nickel nanocomposites prepared by sol–gel method