Https://ide.codingblocks.com/s/313395

please tell what is the problem in my code. I am not able to detect the error

@jatin_wadhwa the second string should completely present as prefix of another string but you are only comparing there 0th 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.