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