+ 1
strcpy (C)
Is strcpy the standard function for assigning strings a new value (in C)? Or is there any other better method? Thank you.
1 Respuesta
+ 1
strcpy is the standard function, and it only copy string2 to string1, strcpy_s was introduced to reduce buffer overflow which i don't think is part of the standard yet, so basically strcpy is the standard