#include #include void test(char *test) { char buffer[4]; strcpy(buffer, test); } void main(int argc, char *argv[]) { if (argc > 1) test(argv[1]); }