Guess which sound has a higher pitch: guitar or car horn?
The guitar has higher pitch since, the frequency of the wave determines pitch, i.e., higher the frequency of a wave, more, is its pitch.
The frequency of vibration of the particle is more in case of the guitar than the car horn.
Hence, the guitar will produce a higher pitch than the car horn.