Each leaf on the tree diagram represents a possible combination. So we are to find the total number of combinations for the given scenario.
There are 5 ways to select the pant, 7 ways to select a shirt and 3 ways to select the shoes.
Total number of combinations will be the product of all these ways the dress items can be selected.
So, number of combination of outfits = 5 x 7 x 3 = 105
Therefore, option B gives the correct answer