lol thanks, totally forgot terminating
you do not nul-terminate your string, it is your code that has issues ;-)
I've just tested my solution in C and passed, likely it is your code having unnecessary trailing \n characters at the end of string. Not a kata issue!
\n
the tests for the attempt in c version has issues and needs to be fixed.
This solution is from 2017.
bro
Loading collection data...
lol thanks, totally forgot terminating
you do not nul-terminate your string, it is your code that has issues ;-)
I've just tested my solution in C and passed, likely it is your code having unnecessary trailing
\n
characters at the end of string. Not a kata issue!the tests for the attempt in c version has issues and needs to be fixed.
This solution is from 2017.
bro