Ad
  • Custom User Avatar

    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.

  • Default User Avatar

    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!

  • Default User Avatar

    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 a question. I can tell you at least that you need to dynamically allocate memory for this function. don't forget NT