I've been learning Chinese for months, but I found an interesting sentence.
他和她一起来的吗? In this sentence, my question is about why “的” is used instead of “了”.
For example, I would say "他和她一起来了吗?", but a Chinese native speaker says "他和她一起来的吗?".
I'm really confused with the use of “的” and ”了“. So when can I use “的” or ”了“? Which one of “的” and ”了“ is more natural when I want to ask like the sentence above?