mergeSort run time disaster

I have checked my code and it is running fine.
But when i submit it it shows run time error every time.
Can someone tell me where I am getting wrong
here is the link for code:

hi Aman your code is fine perfectly
only change the size of temp array as
int temp[10000000];