Zac Efron didn't actually sing in the first High School Musical movie – most of the singing voice was provided by Drew Seeley.
Apparently Zac Efron wasn't even told why his singing voice was cut in the first film, and he had to fight to get it used in the second movie.