What causes panic: runtime error: index out of range [4] with length 4 even though array is initialized as dynamic array

前端 未结 0 651
梦如初夏
梦如初夏 2020-12-31 12:12

I have initialized a dynamic array but it shows index out of range. I have tried giving fixed length also, but it also shows the same error.

package main
impo         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题