Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <string.h>
- #include <stdlib.h>
- int main(int argc, char * argv[]){
- char buf[128];
- if(argc == 1){
- printf("Usage: %s argument\n", argv[0]);
- exit(1);
- }
- strcpy(buf,argv[1]);
- printf("%s", buf);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement