Struct implemented with char array and size