What is the difference between memcpy() and just using the = symbol, as in:
vs.
What are the advantages of using strcpy because that seems to be the "right" way?
Code:
char * str1; str1 = "TEST."; char * str2; str2 = str1;
Code:
char * str1; str1 = "TEST."; char * str2; strcpy(str2,str1);
Comment