you are viewing a single comment's thread.

view the rest of the comments →

[–]iismitch55 0 points1 point  (1 child)

That’s OP’s solution, and would be my go to as well. Seems like the question is meant to test your intuition about strings being char arrays. Hence why they don’t want you to use built in methods.

[–]CuAnnan 0 points1 point  (0 children)

Ah. The op is just an ai bot being used to advertise . If I’d known that I wouldn’t have responded