mam taki kod:
int main(void){
int t=0,x=5;
char tab[100];
printf("numbers of words: ");
scanf("%i", &t);
for(int i=0;i<t;++i){
printf("give me a word: \n");
printf("; ");
scanf("%s", tab);
printf("%s", tab);
}
return 0;
}
I nie wiem jak moge sprawdzac podane slowo po literze ? probowalem petle for, ale nie wychodzi bo gdy do printf albo scanf dam "[i]" obok taba to zle.