Advertisement
Guest User

test.c

a guest
Oct 14th, 2015
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.14 KB | None | 0 0
  1. #include <string.h>
  2.  
  3. int main(int argc, char** argv) {
  4.   char *dup = 0;
  5.   if (argc == 2) {
  6.     dup = strdup(argv[1]);
  7.   }
  8.   return 0;
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement