initial a char array, the number of elements, assigment to a char array