What is a flower lacking either carpels or stamens is called?

Imperfect flowers. I was searching for the same thing :D