Answer explained
The house caught fire. All the books were burnt.
Correct answer: (B) The house having caught fire, all the books were burnt
"The house having caught fire, all the books were burnt" correctly combines the two sentences using a participial (absolute) construction showing cause and effect.