[Solved] Array String null


sizeof(item[0].stringArray) in your code is the size of the string pointer, not the size of the space you set.

1

You can try this.

2

In additon, you should pay attention to the size of your array, otherwise you will always right-click the size of the array, can cause array crossing bounds, causing program errors.

solved Array String null