New course! Every coder should learn Generative AI!
Try a free lesson+ 1
Help me in this
3 Answers
+ 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
+ 1
i think u need to increese the string size to 11😁
because the "strawberry" is 10+1 long😊
ligne:9
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.