Answer:
I asked him that what his name is.
HOPE IT HELPS^_^
A. Hope this helps ! bye.
1. Simple - its just a sentence
2. Complex - the first part is an independent clause followed by a dependent part (its dependent since "because he had been shut in the house all day" isn't a sentence by itself)
3. Compound - its two sentences joined by a conjunction (and, but, not)