Error in the output


sir this is a mergesort problem can you please check

You forgot to write
cin>>n;

that’s why code doesn’t give any output