#include using namespace std; int strcpy (char s[], char p[] ) { while (*s++ = *p++ ) ; }//end strcpy int main() { char s[30]; char p[30]; cin.getline(p, 29, '\n'); strcpy(s,p ); cout << s << endl; system("pause"); return 0; }