What is the structure of the sentence?
The dog wagged its tail and barked when I opened the door.
Acompound
Bcompound-complex
Ccomplex
Dsimple
The dog wagged its tail and barked when I opened the door.
Acompound
Bcompound-complex
Ccomplex
Dsimple