Simple.
I allocate structs array and tried to access it in the array method. but it doesn\'t work.
On the other hand, when I used struct pointer it works.