Doubt in calculating x and y part

for calculating x and y we have written the code but the merge is called on int z ,then how does x store the value from the merge function?

@chitranshanmol07 x and y are called by recursive call on the smaller subarray, thats what divide and conquer is all about! You dont have to calculate their value, the recursive function will do that for you. I highly suggest doing a dry run of the code given in the video, it will make things a lot more clearer