The correct option is A A cluster of compactly borne flowers on a common axis
The pineapple is not a real fruit. It is a cluster of individual berries fused to the central stalk. This is why it has the leaves on top. They are actually the continued growth of the stalk beyond where the berries are attached.
Therefore, the correct answer is option A.