print char array