*msg =& str1;
The type of "*msg" is "char", but you're trying to assign an address to it.
That's why the compiler is upset.
*msg =& str1;
The type of "*msg" is "char", but you're trying to assign an address to it.
That's why the compiler is upset.