Build balanced tree from array


the code is saved in the above id.
MY QUESTION IS WHY WE ARE PASSING POINTER *a in the function builldtreeFromArray
instead of passing array’s name.

both are same thing , if you write int a[] in parameter of function definition or int *a in both cases we are sending the base address of array . They are same thing .

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.


https://hack.codingblocks.com/app/practice/2/1069/problem
plz help