strcpy

str1 = "abcd"; /* wrong as str1 is an array name and cannot be on the left hand side*/
/* ~= */
strcpy(str1, "abcd");

standard

wood

related

backlinks