Digital temp sensor not returning correct value when other sensors are read.

Because one of them is writing off the end of the result[] array and damaging memory that's related to the temperature sensor. Does it work when you apply Pete's suggestion?