Answer:
The option B is correct.
#in my opinion#
Step-by-step explanation:
As we know that the wavelength is the length of one wave and is measured in case of longitudinal wave as the distance between two consecutive compressions or rarefactions and in case of transverse wave as distance between two consecutive crests or troughs THUS in both cases we measure the distance in the direction of the wave (parallel to the wave).