The correct option is
D Cucurbitaceae and Leguminosae
Edible plants of family Solanaceae are
Capsicum annum (lal mirch), tomato, raspberry, potato, brinjal, etc. They belong to category fruit category.
Edible plants of family Liliaceae are
Allium cepa (onion),
Allium sativum (garlic). Both of them are vegetables. Very few plants of family Liliaceae are edible, most of them are non-edible.
Malvaceae family contains just one edible plant as lady's finger. It contains many fiber yielding plants.
Compositae family contains most of the ornamental plants and oil yielding plants. Very less plants like lettuce are vegetables.
Leguminosae family contains many economically important timber yielding, dye yielding, oil yielding plants. It also contain edible plants as pigeon pea, chick pea, horse gram, soyabean, masoor, matar, black gram, green gram, cow pea. Hence, most of the pulse yielding plants belong to family L
eguminosae.
Family Cucurbitaceae contain many vegetable plants as white gourd, round gourd, cucumber, pumpkin, bottle gourd, bitter gourd, snake gourd, etc.
Thus, the correct answer is option D.