Character Arrays

It is showing an invalid array assignment. But I have a doubt that while we print a character array it doesn’t display the address of that array rather it displays the content of the array, so why can’t the same happen while assigning the values in the character array.

ERROR in line 32

hi @aryangoel971_1b263dfa601b9409
kindly save ur code on ide and send link…

hi @aryangoel971_1b263dfa601b9409
u cant directly copy array as u are doing, iterate over and then assign it…

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.