Cracks in beams | Flexure crack and Shear crack

In any structural system crack arises because of stress in the structural system. Failure of a reinforced concrete beam in flexural shear will not result in a sudden failure. But

Why do we provide transverse reinforcement in beams?

Transverse reinforcement in beams is provided mainly to resist the shear forces or forces which act in a direction perpendicular to the longitudinal direction of reinforced concrete beams. We follow