Pi replace program

Can you tell me where I have made the mistake

it’s giving me tle.

hello @sarthak_singhal

check now

I have a doubt that if I take a character array of size 100 but i take only 5 elements in it (e.g - “Hello”) than null charcter will be at 99th index or at 5th index(after ‘o’)??

at 5th index …

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.