SyntaxFix
Write A Post
Hire A Developer
Questions
The expression *src refers to the first character in the string, not the whole string. To reassign src to point to a different string tgt, use src = tgt;.
*src
src
tgt
src = tgt;