sizeof(item[0].stringArray)
in your code is the size of the string
pointer, not the size of the space you set.
You can try this.
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