The correct option is B Pteris
Gametophyte and sporophyte are free-living in pteridophytes only. Of the given options, Pteris is the only pteridophyte. Funaria, Marchantia and Polytrichum are bryophytes in which the sporophyte is dependent on gametophyte.