Question: is cualquiera masculine or feminine?
Answer: Cualquiera is either the subject (meaning it goes at the beginning of the sentence), or goes AFTER the noun. That's really the main difference. Also, these two are not affected by gender. It will be cualquier or cualquiera depending on syntax, NOT whether it's masculine or feminine.