LDCE gives the following sample sentences:
You passed? All right! - AmE
I wonder which:
1. One person is saying both sentences:
"You passed? I'm happy to hear it."
2. The first is a question and the second
an answer by the other person:
"You passed?" "Yes, I'm happy."
Thank you.