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.
Concerning
data1
, I assumed it is a string likedata
, but with different cities or records. However, as I didn't solved this kata yet, I can be wrong !Concerning the definition of
data
in C, the '\0' is automatically added. For exemple,char string = "hello" ;
creates a string of 6 char : "hello\0".The problem description is not very clear. I have no idea of what
data1
is in the description. And for the test case in C language, thechar* data
doesn't have a proper ending character, the program would have no idea of where the string should end.