> scanf("%s", name1[100]); Should be: scanf("%s", name1); >printf("%s", name1[100]); Should be: printf("%s", name1);
http://www.freechess.org