Can we use array of a in first occurrence function instead of pointer?
Recursion First Occurence
Hello @vanshikasharma1645,
Yes you can use array instead of pointer in first occurrence problem. Both of them will generate the same output because operating array in any function will also change the main array .
Thank You
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.