i got a little question hope you guys can help out
i wanna copy a char array[8] to a 2D array , strcpy doesn't let me do it. how should i go about
char letter[8]="abcdefg";
char temp[10][2];
for(int i=0;i<10;i++)
strcpy(temp[i],letter[i])
how do i get extract all the letters into the 2D array ?
so that
temp[0]=a
temp[1]=b
temp[2]=c
etc... thanks !