what is the best solution to copy a char array -which may contains multiple null characters- to another char arrays of arrays?
for example:
char src[11] = "ab\0cde\0\0fg" char des[2][6];
at the end
des[0] should be ---> ab\0cd + \0
des[1] should be ---> e\0\0fg + \0
note: it should be done just in C and not C++