A patient with external hemorrhoids develops pain while passing stools. The nerve mediating this pain is -
External piles (hemorrhoids) lie below the pectinate line and are therefore painful.
Pain sensation below the pectinate line is carried by inferior rectal nerve, a branch of the pudendal nerve.
Hypogastric nerve
Pudendal nerve
Splachnic visceral nerve
Sympathetic plexus