This doesn't work. Please help.
(line 8: invalid conversion from `const char' to `const char*' )
const char *alphabet="ABCDEFGHIJKLMNOPQRSTUVWXYZ";
int i=0;
do
{
new_ptr = (struct node *)malloc(sizeof(struct node));
new_ptr->next = NULL;
if (start == NULL) {
strcpy(new_ptr->letter, alphabet[i]);
start = new_ptr;
current = new_ptr;
}
else {
strcpy(new_ptr->letter, alphabet[i]);
current->next = new_ptr;
current = new_ptr;
}
//printf("***%s",*let);
i++;
//printf("***%s",*let);
}while (alphabet[i] != '\0');