What does the speed of sound depend on?

A. Frequency of the sound

B. Loudness of the sound

C. Medium that the sound travels through

D. Acoustics

Please give an explication with your answer. I need help, please!