Quick_sort segmentation fault


there is a segmentation fault coming…
can u please correct my code
and also let me knoe where am i going wrong

hello @apoorv.chauhann

image

here it should be
for(int i=s ; i < e;i++)

not including e because then our pindex may exceed e .