int jim(char *str) { char buf[256]; strcpy(buf,str); } int main(int argc, char **argv) { jim(argv[1]); }