What effect did factories have on the cities in which they were located?

A) Living conditions improved.

B) Food supplies increased.

C) Population increased.

D) Population decreased.