tell me the error
Bug in the code
Hey,the error is in conversion from string constant("FERRARI) to char*.
Define char* arr with characters as {‘f’,‘e’,‘r’…} and then pass it to function.
but i am changing it in the string in above fun but it is also not running.
Can you send me the updated code?
It was working when i tried 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.