Help me in this | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
29th Nov 2023, 9:29 PM
غمدان عبدالكريم الخراشي
غمدان عبدالكريم الخراشي - avatar
3 Réponses
+ 2
First thing I see is your array doesn't have space for the NULL. Increase STRING_SIZE to 1 more character than the biggest word: "strawberry" +1 = 11
29th Nov 2023, 9:53 PM
HungryTradie
HungryTradie - avatar
+ 1
i think u need to increese the string size to 11😁 because the "strawberry" is 10+1 long😊 ligne:9
1st Dec 2023, 6:52 PM
Med Yassine
Med Yassine - avatar
0
G'day mate, can you tell us what isn't working? You have 143 lines of code, so it's a bit more complicated than most questions here.
29th Nov 2023, 9:50 PM
HungryTradie
HungryTradie - avatar