Why am i getting this error

hello @bhadra28

u cannot assign address to some static array
https://ide.codingblocks.com/s/459572

btw there is no need to receive arrya, array are always passed by pointer,so whateve changes u will make on passed array, it will be automatically reflected in original array

okay got it. thanks!

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.