Doubt in function parameters in Recursion

Hi, I am getting confused about the arguments passed to the function in the recursive call. It is as follows-

  1. In the recursive call when (a + 1) is passed it will go the next integer, but integers are of 4 bytes so should it not be (a + 4). Is it because the array is of type int and a + 1 will move the pointer by 4 places?

  2. How will this work in case of strings or character arrays as passing the string in the function will not pass the address of the first character? Do we need to use ‘&’ operator in that case?

@sahilsaini137 hey bro,actually a jo hai simply array ke first element ko represent krta hai mtlb fif you pass a+1 in recursion to a will point to first element of new array which will be starting from next position ,eg dekho:agr 1,2,3,4 array hai to a 1 ko point krrha hai ,now suppose a+1 pass kia apne nyi recursion me to array change hogya to 2,3,4.
basically hm string or char array ke case me ek index variable lelete hai jo start me 0 hota hai aur pehle element ko refere krrha hota hai ,fir agli recursion call me hm index+1 pass krte hai ,now hmara char array will start from 1 index not from 0,also you may use substring function in string suppose s=“Abc” hai to agli recusrion call be “bc” pass kro using substr function.
Hope you get it.