Using inbuilt function Using the inbuilt function strcpy() from string.h header file to copy one string to the other. strcpy() accepts a pointer to the… Read More »
The post Different ways to copy a string in C/C++ appeared first on GeeksforGeeks.
Using inbuilt function Using the inbuilt function strcpy() from string.h header file to copy one string to the other. strcpy() accepts a pointer to the… Read More »
The post Different ways to copy a string in C/C++ appeared first on GeeksforGeeks.