What is wrong with this statement? myName = "Robin";
4 years ago
C Programming
You cannot use the = sign to assign values to a string variable. Instead, use the strcpy function. The correct statement would be: strcpy(myName, "Robin");
Sanisha Maharjan
Jan 20, 2022