The correct option is C the total charge will be conserved
When two charged conducting spheres are joined by a conducting wire, the charge will flow from the higher potential to lower potential region and some work done has to be done by this process. So the energy will not conserved and here some energy lost or gain due to flow of charge. As there is no cell connected to the spheres, the total charge will be conserved.