[Solved] replacing chars with memmove in char pointer [duplicate]


myst1r is an array of char that holds a copy of its initializer. mystr is a pointer to char that points to its initializer. In both cases, the initializer is a literal string. The difference is that you can modify the contents of an array, but you cannot modify the contents of a literal string.

6

solved replacing chars with memmove in char pointer [duplicate]