Codes of the string

Code is running for the custom inputs but no test case is passing. Please check my code for errors.

Hey @Anshit dont append null at the end of string code as null is only required in character arrays.
here i have marked your mistake and corrected it :


I hope your doubt is cleared don’t forget to mark it resolved in my doubts section :smiley:

1 Like

Thank you…All the test cases are running perfectly…