*a used in merge function

why are we using * a in merge function when samething can be done using simply a;

Hi abhishek,
Pls pass on the code snippet or just elaborate about the context you are referring to.It will be easier for us to help you then!

https://youtu.be/yzkzQ7oZwIE this video. while defining merge function why are we using *a in function declaration not a[];

hey @abhishekm, there is nothing wrong when pointer(a*) is passed, we can use both a[] as well as a* to access array element.