int main(int argc, char** argv)
{
int x;
char name;
if( argv[1]!=NULL) x = atoi(argv[1]);
if( argv[2]!=NULL) strcpy(&name, argv[2]);
strcpyでコピー