'Where' modifies home in this case so C and D eliminated
B should read 'and lighting in homes was'
If you flip D you will find that 'was' does not go with 'homes' and 'having' seems to modify electricity rather than homes.
was fooled on this GMAT prep
This topic has expert replies
Source: Beat The GMAT — Sentence Correction |

















