Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- int main(int argc, char **argv) {
- char buf[100], buf2[100], buf3[100];
- strncpy(buf2, argv[1], 100);
- strncpy(buf3, argv[2], 100);
- strcpy(buf, buf3);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement