The primary function of the hypersensitive response (HR) in plants is:
C. To cause rapid death of infected plant cell, preventing the spread of the pathogen.
The HR is a defense mechanism that involves the localized cell death around the infection site, which helps to limit the growth and spread of the pathogen.