Are Macrozamia and Hypericum both flowering plants?
no
Hypericum
Hypericum is a genus of flowering plants in the family Hypericaceae (formerly often considered a subfamily of Clusiaceae).
 "Hypericum" is unusual for a genus of its size because a worldwide taxonomic monograph was produced for it by Norman Robson (working at the Natural History Museum, London).
 Robson recognizes 36 sections within "Hypericum".
Macrozamia
Macrozamia is a genus of 38–40 species of cycads, in the family Zamiaceae, all endemic to Australia.
 The majority of the species occur in eastern Australia in southeast Queensland and New South Wales, with one species in the Macdonnell Ranges of Northern Territory and three in southern Western Australia.
Hypericum ericoides
Hypericum ericoides is a dwarf shrub in the genus "Hypericum", a large genus of multiple types of flowering plants, in the section "Coridium".
 It is found in eastern and southeastern Spain, Morocco, and Tunisia.
 Its preferred habitat is fissures in calcareous rocks in warm, sunny places, from 200 to 2,000 meters above sea level (MASL).