For this input:
5
3 6 4 1 2
When I am trying to calculate the size of the array inside the merge() function, using (sizeof(a)/sizeof(a[0])), then the value of this is 2 but it should have been 5 instead. What is the reason for the size being calculated as 2 inside the merge() function?