Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
I think the problem is how the string (or char array) is (or isn't) terminated. I barely know C, but adding that made the code work.
Your solution (I just tried it) passes the kata. Moreover it is a question, not an issue of the kata since 1036 guys passed the C kata. Cheers!
Hi @silverdimos, an
issue
is when there's a problem with the kata. If you have a question about your code, you could post as aquestion
. I can tell you at least that you need to dynamically allocate memory for this function. don't forgetNT