I am getting error in my code

I have made the code ,but i am facing a difficulty when using string instead of char .
input:
hello
I am getting
O/P
hel*l

can you debug my 1st code

Hey @siddhant_samal
https://ide.codingblocks.com/s/364850 mentioned the change in comment

ok got it sir, Thank you

1 Like

Please mark this as resolved :slight_smile:

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.