#include <iostream>
using namespace std;
void fun(char* p, char * temp)
{
while (*temp)
*p++=*temp++;
}
int main()
{
char * t = (char *)"0123456789";
char * temp = (char *)"String with length more than 10 symbols";
fun(t, temp);
cout << t << endl;
cin.get();
return 0;
}