When I try to compile my code, it shows an error here. I’ve tried return 0; and return NULL; but nothing worked. What should I do?
Return; statement error
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.
hi, I saw your solution. But it is completely different from my solution. Please help me find error in my solution. Why isn’t return; working in mine? I tried changing the function from int to void but now it shows wrong answer