Examples of using "何食べたの?" in a sentence and their spanish translations:
¿Qué comiste tú?
¿Qué estás comiendo?
¿Qué comiste?