char* strcpy(char* cpDest, const char* kcpSrc);
#include <cstdio>
#include <cstring>
int main()
{
char caSource[] = "XoaX.net";
char caDest[20];
// Copy the string "XoaX.net"
strcpy(caDest, caSource);
printf("Copied: %s\n", caDest);
return 0;
}
© 20072024 XoaX.net LLC. All rights reserved.