Spanish interrogative and exclamatory pronouns
Interrogative pronouns are words that replace the noun on which we are asking the question. They are used in direct and indirect questions and are always written with an accent [´]. They will be between question marks [¿ ?].
What do you want?
Who are you?
Which one do you prefer?
No sé cuáles compraré.
I don't know which ones I will buy.
How many do you want?
No hay muchas chicas. ¿Cuántas han venido?
There aren't many girls. ¿How many did come?
Exclamatory pronouns are words that replace the noun on which we are expressing surprise or some kind of emotion. They are always written with an accent [´]. They are the same pronouns as the interrogative pronouns, but they will be between exclamation marks [¡ !].
¡Qué vamos a hacer!
What are we doing now!
¡Quién pudiera ir a la playa ahora!
I wish I could go to the beach now!
¡Cuántos han suspendido el examen!
Lots of people failed the exam!
Watch this video in Spanish for some more explanation and examples: