What is the primary function of 'expansion joints' in concrete structures?
1) To increase the tensile strength of concrete
2) To prevent cracking due to thermal expansion and contraction
3) To enhance the compressive strength of concrete
4) To improve the adhesion between concrete layers