Error: invalid array assignment

No!
That simply creates a (NULL) pointer but allocates no space for the character string.

1 Like