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.
it's a matter of memory management. first thing: printf your output before your return statement to see what you're actually returning. this will give you a start on what you need to fix
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
In C,
Either the test crashes or I also get this error:
The expression strcmp(result, "hello hello hello ") == 0 is false.
And when I run it else where it is not return false.
I'm using malloc - is that the problem?
Cheers,