This question already has an answer here:
What should be the passive voice of below given sentence?
My father promised me a gift.
I am confused between these two options .
A gift was promised to me by my father.
I was promised a gift by my father.
To me both sentences convey the same meaning but if it is asked in exam and I have to choose between them then which one should I choose and why it is better than the other ?