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.
return calloc(1, 1);
is just a stub so that the initial solution compiles and behaves normally. it also illustrates what kind of string you need to return in your solution: it has to be nul-terminated and heap-allocated (i.e. viamalloc()
&co).calloc(1, 1)
is a construct that creates a heap-allocated empty stringto pass the kata you will of course have to return another string
Do you understand what you need to return in C version of the kata?
Do you know and understand what
calloc
does?