Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- void strcpys(char *s, char *t);
- int main() {
- char *ms;
- char *mt;
- mt = "ABCDEFGAAA,AAAAA";
- strcpys(ms, mt);
- printf("%sn", ms);
- printf("%sn", mt);
- return 0;
- }
- void strcpys(char *s, char *t) {
- while ((*s = *t) != '