Writing a library - returning a char array

Why not just make the array public?