The correct option is A Structure A is more stable than structure B.
For polar resonating structures :
Separation of like charges increases the stability and separation of unlike charges decreases the stability.
In structure A, the unlike charges are closer to each other whereas in structure B, the unlike charges are farther.
So, structure A is more stable than structure B