Guest User

Untitled

a guest
Mar 21st, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. int mystrcpy(char *c, const char* s);
  2.  
  3. int mystrcpy(char *c, const char* s);
  4. {int i=0;
  5. for(i=0;i<strlen(s);i++)
  6. c[i]=s[i];
  7. c[++i]=NULL;
  8. cout<<c;
  9. return 0;}
Add Comment
Please, Sign In to add comment